Share via


CMFCToolBarComboBoxButton::GetByCmd

Gets a pointer to the combo box button that has a specified command ID.

static CMFCToolBarComboBoxButton* GetByCmd(
   UINT uiCmd,
   BOOL bIsFocus=FALSE 
);

Parameters

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

  • [in] bIsFocus
    TRUE to search only focused buttons; FALSE to search all buttons.

Return Value

A pointer to a combo box button; or NULL if the button is not found.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart