Call this member function to retrieve the number of items in the list box part of a combo box on the command bar.
int GetComboCount ( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
The number of items in the combo box's list box. The number returned is one greater than the index value of the last item in the list box (the index is zero-based). This function returns CB_ERR if an error occurs.
Note This member function of the CFrameWnd class is unique to Windows CE.
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows