Call this member function to retrieve the index number of the currently selected item in a combo box on the command bar.
int GetComboCurSel ( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
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.
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows, CFrameWnd::SetComboCurSel