This method retrieves the number of items in the list box part of a combo box on the command bar.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
int GetComboCount ( ) const;
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 method returns CB_ERR if an error occurs.
This method of the CFrameWnd class is unique to Windows CE.