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.
uiToolbarResID | Specifies a resource ID of toolbar to be added. |
uiColdResID | Resource ID with toolbar cold images. |
uiHotResID | Resource ID with toolbar hot images. |
uiDisabledResID | Resource ID with toolbar disabled images. |