.net form with lots of components

1 view
Skip to first unread message

JJ

unread,
Apr 15, 2009, 6:40:54 PM4/15/09
to Visual C++ Lovers
I have a Visual C++ .NET 2003 form. On that form I have 2,555
components (comboboxes, checkboxes, etc.). Since this is managed code
(i.e. Microsoft dictates all the code has to stay in the header), the
header file quite large (pushing 65,000 lines). Every once in a while
I get a "catastrophic error" on the form designer when I open the
project. The project will build, but the form design will not display
until I remove some lines from the header.

1. Is there a limit to the max lines?
2. Is there a way to have my 255 comboboxes point to a single array or
list instead of each component listing 20 different selections?

Thanks.
Reply all
Reply to author
Forward
0 new messages