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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

LB_SETSEL

 

 

Community Additions

ADD
Show:
© 2014 Microsoft