CListBox::GetSelCount
Retrieves the total number of selected items in a multiple-selection list box.
int GetSelCount( ) const;
Возвращаемое значение
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 the example for CListBox::GetSelItems.
Требования
Header: afxwin.h