int GetSelCount() const;
Retrieves the total number of selected items in a multiple-selection list box.
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.
CListBox::SetSel, LB_GETSELCOUNT