CBCGPRibbonBackstageViewPanel* CBCGPRibbonBar::AddBackstageCategory | ( | LPCTSTR | lpszName, |
UINT | uiSmallImagesResID, | ||
CSize | sizeSmallImage = CSize(16, 16) , |
||
CRuntimeClass * | pRTI = NULL |
||
) |
Adds backstage category.
Use this method to add a backstage category to Ribbon Control. It can be only one backstage category in a Ribbon Control, therefore you should call this method only once at the initialization stage.
Use the returned pointer to backstage panel to initialize the backstage view.
lpszName | Specifies category name. |
uiSmallImagesResID | Resource ID of category's small image. |
sizeSmallImage | Specifies the size of small image. |
pRTI | A pointer to runtime class information of a CBCGPRibbonCategory - derived class. |