We have an MFC C++ 6 application which needs to show between 1 and 100 Edit controls. We won't know how many we need until the program is running, and it can change dynamcially as the user is using the program.
This would be easily solvable in VB6 using a Control Array, so we need similar capability, but in C++ 6.
We do not want to create all 100 controls in advance and hide them, we want the form at design time to have 1 (or none) of the Edit control. We want to do everything at runtime. We also need to destry (or at least hide) the controls during the process.
When we determine that we need an additional Edit control, we need to create it, position it, and set it visible at that time, then of course be able to access the value entered in it.
We are new to C++ 6, so please assume no prior code exists, and give us everything we need to implement this, basically from an MFC exe app created by the wizard as a starting point.
Thanks in advance!