Microsoft KB Archive/166128

{|
 * width="100%"|

DOC: CB_INITSTORAGE & LB_INITSTORAGE Not Implemented on WinNT

 * }

Q166128

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)
 * Microsoft Visual C++, versions 4.0, 4.1
 * Microsoft Visual C++, 32-bit Enterprise Edition, versions 4.2, 5.0
 * Microsoft Visual C++, 32-bit Professional Edition, versions 4.2, 5.0

-

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.

© Microsoft Corporation 1997, All Rights Reserved.

Contributions by Marie Ward, Microsoft Corporation

Additional query words: CComboBox CListBox combo list box

Keywords : kbdocerr kbMFC

Issue type :

Technology : kbVCsearch kbVC400 kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbVC410 kbWin32sSearch kbVC420 kbVC500 kbVC32bitSearch kbVC500Search