CComboBox::GetCount

Syntax

int GetCount() const;

Return Value

The number of items in the list box of a combo box. The returned count is one greater then the index value of the last item (the index is zero-based). It is CB_ERR if an error occurs.

See Also

CB_GETCOUNT