Share via


CMFCToolBarComboBoxButton::GetCurSel

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

int GetCurSel() const;

Return Value

The index of the currently selected item in the list box; or CB_ERR if no item is selected.

Remarks

The list box index is zero-based.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart