LB_GETSELCOUNT

This message is sent by an application to retrieve the total number of selected items in a multiple-selection list box.

LB_GETSELCOUNT wParam = 0; 
  lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Values

The count of selected items in the list box indicates success. LB_ERR indicates that the list box is a single-selection list box.

Requirements

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

See Also

LB_SETSEL | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.