DOC: CB_INITSTORAGE & LB_INITSTORAGE Not Implemented on WinNT
Article ID: 166128
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q166128
SUMMARY
Some versions of the documentation for the Windows SDK incorrectly state
that the CB_INITSTORAGE and LB_INITSTORAGE messages are implemented on
Windows NT.
MORE INFORMATION
The Win32 SDK documentation states that these messages are supported on
Windows NT in both the Overview and in the Win32api.csv file. This is
incorrect. They are only implemented on Windows 95.
The CB_INITSTORAGE and LB_INITSTORAGE messages are sent to a combobox or
listbox to allocate and initialize memory when very large numbers of items
are to be added. It is not required, but it speeds up the process of
inserting strings.
On Windows NT, both of these messages are sent with out actually allocating
memory. They return the value passed as the wParam of the message.
Additional query words: CComboBox CListBox combo list box
Keywords: kbdocerr KB166128