Export (0) Print
Expand All

LB_GETSELITEMS

Windows CE .NET

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;

Parameters

cItems
Specifies the maximum number of selected items whose item numbers are to be placed in the buffer.
lpnItems
Long pointer to a buffer large enough for the number of integers specified by the cItems parameter.

Return Values

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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

LB_GETSELCOUNT | List Box Messages


Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.

Show:
© 2014 Microsoft