Syntax
int GetCurSel() const;
Return Value
The zero-based index of the currently selected item in the list box of a combo box, or CB_ERR if no item is selected.
See Also
CComboBox::SetCurSel, CB_GETCURSEL