limit of CComboBox and handling of scrolling event in a CComboBox 
Author Message
 limit of CComboBox and handling of scrolling event in a CComboBox


There are limitations for the amount of items a ListBox can hold.
(ListBox is a part of Combobox), but you should consider a different
approach, it's not really user friendly to have a few thousand of items
in your ComboBox.

If you really want this maybe this article is something for you...

MSDN search for...
A Virtual List Box Implementation with VLIST

limitations are...

It can display a maximum of 32,767 items.

It is limited to 32K of item data. Therefore, list boxes that store
strings can contain a maximum of 5440 items, and list boxes that don't
store strings (owner-drawn list boxes implemented without the
LBS_HASSTRINGS style) can contain a maximum of 8160 items.

It is limited to 64K of string data. Therefore, a list box with an
average string length of 30 bytes per item can store a maximum of 2184


* Sent from RemarQ http://www.*-*-*.com/ The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

Mon, 22 Apr 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Limit on CComboBox?

2. Scrolling in CComboBox

3. CComboBox horizonal scroll bar

4. CComboBox and vertical scrolling

5. Scrolling in CComboBox

6. catching the CComboBox -> WM_KEYDOWN event

7. Handle to dropdown window of a CComboBox

8. Creating a CComboBox dynamically and assigning it an event handler

9. Handling Alt-Arrow key presses in CComboBox

10. CComboBox changed event?

11. Handling "ENTER" from a CComboBox

12. What the difference: MyFunc(class CComboBox &cb) -- and --> MyFunc(CComboBox &cb)


Powered by phpBB® Forum Software