CFrameWnd::GetComboCount

This method retrieves the number of items in the list box part of a combo box on the command bar.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later

Syntax

int GetComboCount ( ) const;

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 method returns CB_ERR if an error occurs.

Remarks

This method of the CFrameWnd class is unique to Windows CE.