Share via


CMFCToolBarComboBoxButton::GetCurSelAll

Returns the index of the currently selected item in the list box of a combo box button that has a specified command ID.

static int GetCurSelAll(
   UINT uiCmd 
);

Parameters

  • [in] uiCmd
    The command ID of a combo box button.

Return Value

The index of the currently selected item in the list box; otherwise, CB_ERR if no item is selected or a combo box button is not found.

Remarks

The list box index is zero-based.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart