CComboBox::GetCount

int GetCount( ) const;

Return Value

The number of items. The returned count is one greater than the index value of the last item (the index is zero-based). It is CB_ERR if an error occurs.

Remarks

Call this member function to retrieve the number of items in the list-box portion of a combo box.

CComboBox OverviewClass MembersHierarchy Chart

See Also   CB_GETCOUNT