BCGControlBar Pro for MFC
void CBCGPRibbonPaletteButton::SelectItem ( int  nItemIndex,
BOOL  bEnsureVisible = FALSE,
BOOL  bNotifyOther = FALSE 
)

Select an item.

Parameters
nItemIndexZero-based index of the item.
bEnsureVisibleSpecifies whether the item should be visible after selection.
bNotifyOtherSpecifies whether to select the same item in other controls with the sane ID.