BCGControlBar Pro for MFC
static BOOL CBCGPToolbarComboBoxButton::SelectItemAll ( UINT  uiCmd,
LPCTSTR  lpszText 

Looks for a combo box button with the given command ID and select one of a combo box items according to the specified string.

Nonzero if a combo box button with a given command ID was found; otherwise 0.

This function looks for a combo box button with the specified command ID, and if the button is found, it calls SelectItem() with bNotify set to TRUE.

uiCmdSpecifies the button's command ID to look for.
lpszTextSpecifies the text to search for. The item that was assigned this text is selected.