|
-
January 6th, 2004, 06:30 AM
#1
multiple input data(ListBox): newbie MFC Programming question?
Hi Guys,
Say i have aprogram with my first edit box:
Edit Box 1asking for Number of People:
Once this is entered, I want to ask the following questions:
Age:
Name:
Height:
So say the user enters 20 people, I need to ask for the above details 20 times?
Because I don’t know how many people the user will enter I cannot create all the edit boxes for this before so what’s the best programming/practical way to do this?
I am sorry if this is such a basic question but I am just learning MFC and I’m not sure how this can be done. Because from what I know so far if I create an edit box I can only attach one variable (which threw my idea of using arrays out the window) to it…so does that mean I need 20 different edit boxes.
Please can anyone offer any advise or direct me in the right path!
Last edited by Ankoump; January 8th, 2004 at 06:26 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|