TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
Dynamically create controls...VC++
Posted by elliott [send private reply] at September 05, 2002, 09:16:27 AM I am trying to figure out how to create controls dynamically. I have seen that a dialog class has a 'CreateControl' member but understanding the actual parameters it takes is a little confusing.
As an example, say you have a Dialog box with 1 Edit box and 1 Button...you enter the number of Edit boxes you want to appear in the Edit box that is currently shown...then click the button and that many Edit boxes are displayed.
I think I use an array of CEdit objects...
The number of objects is determined only once while the program is rinning...
Any suggestions would be appreciated...even where I might want to look for the answer..
Thanks in Advance
Register as a new user