CListBox::GetSelCount

Syntax

int GetSelCount() const;

Remarks

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

Return Value

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.

See Also

CListBox::SetSel, LB_GETSELCOUNT