ID: Q166128
The information in this article applies to:
Some versions of the documentation for the Windows SDK incorrectly state that the CB_INITSTORAGE and LB_INITSTORAGE messages are implemented on Windows NT.
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.
(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Kelly Marie Ward, Microsoft Corporation
Additional query words: CComboBox CListBox combo list box Keywords : kbdocerr kbMFC
Last Reviewed: December 31, 1998