CMFCRibbonComboBox::GetCurSel

Gets the index of the currently selected item in the list box.

int GetCurSel() const;

Return Value

The zero-based index of the currently selected item in the list box; or -1 if no item is selected.

Requirements

Header: afxribboncombobox.h

See Also

Reference

CMFCRibbonComboBox Class

Hierarchy Chart