CompuServe Thread

#CListbox memory limit?

2 messages in this thread
#30669From: Russell CurgenvenJul 12, 1994 10:21 AM
Is there a memory limit for a CListBox using the AddString member? I can't seem to find a reference to it apart from receiving the LBN_ERRSPACE return code. – Russell Curgenven, Written 12-Jul-1994 @ 16:21:18 Using: Windows NavCIS SE v.1.2
#30700From: Kit KauffmannJul 12, 1994 1:47 PM
Yes (in 3.1): Max of 32,767 items Max of 32K item data and 64K string data, so with LBS_HASSTRINGS, 5440 items, and 8160 without. If this is a limitation, you might look at VLIST.DLL (available in GO WINSDK forum library). If you need this, you might be interested in my MFC wrapper for VLIST, which is in the Doc/View/UI library, named vl.zip. Kit