Given a command ID returns a pointer to a combo box button from the list of toolbar buttons.
- Returns
- A pointer to a combo box button. It can be NULL.
This function obtains a list of toolbar buttons with the same command ID specified by uiCmd from CBCGPToolBar::GetCommandButtons. Then, it searches the list for a combo box button and returns a pointer to it or NULL if there is no CBCGPToolbarComboBoxButton in the list.
- Parameters
-
uiCmd | Specifies the command ID to look for. |
bIsFocus | If TRUE, the function returns only focused buttons; otherwise it returns all buttons. |