This message is sent by an application to fill a buffer with an array of integers that specify the item numbers of selected items in a multiple-selection list box.
LB_GETSELITEMS wParam = (WPARAM) cItems; lParam = (LPARAM)(LPINT) lpnItems;
- Specifies the maximum number of selected items whose item numbers are to be placed in the buffer.
- Long pointer to a buffer large enough for the number of integers specified by the cItems parameter.
The return value is the number of items placed in the buffer. If the list box is single-selection, the return value is LB_ERR. This message will also return LB_ERR if you pass invalid parameters for a multi-selection list box.
OS Versions: Windows CE 1.0 and later.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.