Got an old Mfc dialog project that needs a lot of controls to be added to it. What is the limitation on number of controls if I do the work under vc2008. How can I bypass such limitation if there is one?.:confused:
Printable View
Got an old Mfc dialog project that needs a lot of controls to be added to it. What is the limitation on number of controls if I do the work under vc2008. How can I bypass such limitation if there is one?.:confused:
AFAIK, there is a limit of 255 controls which can be added in a dialog template if the target system is Windows 95/98/Me.
I don't know if this limit is exceeded or not on NT platform (theoretically, that may be 65535).
For dynamically created controls, only God knows where the limit is. :)
Anyhow, everybody should know that a very large number of controls in a dialog means... bad design.
Just shoot the architect! :D