LB_GETSELCOUNT (Compact 2013)

3/28/2014

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

Syntax

LB_GETSELCOUNT wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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

Header

winuser.h

See Also

Reference

List Box Messages
LB_SETSEL