LB_GETSELCOUNT message

Gets the total number of selected items in a multiple-selection list box.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is the count of selected items in the list box. If the list box is a single-selection list box, the return value is LB_ERR.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

LB_SETSEL