LB_GETSELCOUNT

This message returns the total number of selected items in a multiselection list box.

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return Value

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