Maximum number of items in listbox
-
Windows 95 only: The nItems parameter is limited to 16-bit values. This means list boxes cannot contain more than 32,767 So above W95 is it supposed to work with let's say app. 60 000 items? Because on XP it doesn't seem to be working correctly. It displays the items, but I also use itemdata pointers. The getcount() doesn't return the correct number of items... Anybody dealt with something similar?
-
Windows 95 only: The nItems parameter is limited to 16-bit values. This means list boxes cannot contain more than 32,767 So above W95 is it supposed to work with let's say app. 60 000 items? Because on XP it doesn't seem to be working correctly. It displays the items, but I also use itemdata pointers. The getcount() doesn't return the correct number of items... Anybody dealt with something similar?
-
The first sentence is from MSDN. I use XP, so thought it should work, but it gives incorrect result. getcountex? with listbox? that function doesn't seem to exist on vc++ ...
-
Windows 95 only: The nItems parameter is limited to 16-bit values. This means list boxes cannot contain more than 32,767 So above W95 is it supposed to work with let's say app. 60 000 items? Because on XP it doesn't seem to be working correctly. It displays the items, but I also use itemdata pointers. The getcount() doesn't return the correct number of items... Anybody dealt with something similar?
tuxyboy wrote:
It displays the items...
All 60,000 of them? If so, how are you using the
GetCount()
method?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne