BCGControlBar Pro for MFC
CBCGPRibbonButtonsGroup* CBCGPRibbonPanel::AddToolBar ( UINT  uiToolbarResID,
UINT  uiColdResID = 0,
UINT  uiHotResID = 0,
UINT  uiDisabledResID = 0 
)

Adds a toolbar to the ribbon panel.

Use this method to add a toolbar to ribbon panel. The toolbar will be placed next to a ribbon element added by a previous call on CBCGPRibbonPanel::Add.

Parameters
uiToolbarResIDSpecifies a resource ID of toolbar to be added.
uiColdResIDResource ID with toolbar cold images.
uiHotResIDResource ID with toolbar hot images.
uiDisabledResIDResource ID with toolbar disabled images.