Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

number of controls on a form

Status
Not open for further replies.

deyzel

Programmer
Apr 4, 2001
15
0
0
CA
Is there a maximum number of controls that you can place on a form?

I have a form with 80 comboboxes and I get a Win32API error "unable to read combobox4->items.Strings".

If I delete a number of them the problem goes away.

Thanks
 
I couldn't find an exact number. I suppose that there can be a limit. It's also possible that the amount of resources (RAM, virtual memory, etc.) could play a part, too.

James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
Greetinx!

Windows 95 has maximum windows within it equal to 32767(8)
other windows, i think, has more then 32K windows!
I know somebody did applications that contains more then 128 controls of one type and they worked properly.

Happy programming!))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top