DOC: CB_INITSTORAGE & LB_INITSTORAGE Not Implemented on WinNT

Last reviewed: October 10, 1997
Article 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.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Kelly Marie Ward, Microsoft Corporation


Additional query words: CComboBox CListBox combo list box
Keywords : UsrCtl kbprg kbfasttip
Version : 4.0 4.1 4.2 5.0
Platform : NT WINDOWS
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.