Original Post
I have a quick question on Visual C++... I am trying to create an application where i figured i need to dynamically create controls... mainly checkboxes...
The user enters a number.. now i cant be sure how many he may enter... it could be anywhere from 10 to 25... but the thing is that when he presses okay, i need to present him with the exact amount of checkboxes... so if he entered 20... and then hits enter... then i have to display 20 checkboxes...
Is there a way i can dynamically create this using code... so that i dont have to hide all the possible number of checkboxes, then make them visible, when i need them...
And also, is it possible to make the values of a checkboxes to be pointed to by an array... like if i have 10 checkboxes... can i make the variables of these checkboxes as part of an array, so that if i say m_bCheck [2], it will access the 3rd checkbox.. is it possible.. if so how...
I appreciate any help anyone can give me...