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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Control Question

Status
Not open for further replies.

mpsoutine

Programmer
Jan 6, 2003
87
US
Hi,

Is there a limit to the number of rows that can be added to a list control? I'm populating my list control with the contents of a data base. Not all the items in the database are being added.
 
Is it a list box or a list view control?
For a list box control: (from MSDN)
Microsoft Windows 95/Windows 98/Windows Millennium Edition (Windows Me) : The wParam parameter is limited to 16-bit values. This means list boxes cannot contain more than 32,767 items. Although the number of items is restricted, the total size in bytes of the items in a list box is limited only by available memory.

I do not think this limitation applies to a list view control.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top