次の方法で共有


LB_GETSELITEMS (Windows CE 5.0)

Send Feedback

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 Boxes Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.