DOC: CB_INITSTORAGE & LB_INITSTORAGE Not Implemented on WinNT

ID: Q166128


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 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
Version : WINDOWS:; winnt:4.0,4.1,4.2,5.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.