CFrameWnd::GetComboCurSel

This method retrieves the index number of the currently selected item in 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 GetComboCurSel ( ) const;

Return Value

The zero-based index of the currently selected item in the list box of a combo box on the command bar. This method returns CB_ERR if no item is selected.

Remarks

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

See Also

CFrameWnd::SetComboCurSel