CListBox::GetSelCount

intGetSelCount()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 OverviewClass MembersHierarchy Chart

See Also   CListBox::SetSel,