CFrameWnd::GetComboCount

Call this member function to retrieve the number of items in the list box part of a combo box on the command bar.

Syntax

int GetComboCount ( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later

Return Value

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.

See Also

CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows