salman
May 23rd, 1999, 08:07 AM
I want to display 500 machines for some sort of simulation. In visual basic i could easily do this by making an array of control (specifically check boxes) and I could display 600 buttons on one form. Then by using Index I can write one procedure to handle this. Also in VB if the controls are not declared as array the maximum limit is 255 +1 for form =256.
how this can be done in Visula C++ using MFC. I am using SDI CFormView and I want to avoid creating buttons thru loop (I am not sure even if it works with this wasy either + lot of positining and cosmetic is requrired). In dialog editor it allows only upto 255 controls. The VB form can also not be imported. I have tried this. Good ideas are welcome.
how this can be done in Visula C++ using MFC. I am using SDI CFormView and I want to avoid creating buttons thru loop (I am not sure even if it works with this wasy either + lot of positining and cosmetic is requrired). In dialog editor it allows only upto 255 controls. The VB form can also not be imported. I have tried this. Good ideas are welcome.