This method retrieves the index number of the currently selected item in a combo box on the command bar.
| Header file: | Afxwin.h | 
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro | 
| Windows CE versions: | 1.0 and later | 
int GetComboCurSel ( ) const;
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.
This method of the CFrameWnd class is unique to Windows CE.