CFrameWnd::GetComboCurSel

Call this member function to retrieve the index number of the currently selected item in a combo box on the command bar.

Syntax

int GetComboCurSel ( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later

Return Value

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

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, CFrameWnd::SetComboCurSel