int GetSelCount( ) const;
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.
Remarks
Retrieves the total number of selected items in a multiple-selection list box.
Example
See the example for CListBox::GetSelItems.
CListBox Overview | Class Members | Hierarchy Chart
See Also CListBox::SetSel, LB_GETSELCOUNT