CBCGPRibbonMainPanel* CBCGPRibbonBar::AddMainCategory | ( | LPCTSTR | lpszName, |
UINT | uiSmallImagesResID, | ||
UINT | uiLargeImagesResID, | ||
CSize | sizeSmallImage = CSize(16, 16) , |
||
CSize | sizeLargeImage = CSize(32, 32) , |
||
CRuntimeClass * | pRTI = NULL |
||
) |
Creates main ribbon panel.
Use this function to add main ribbon panel. Main ribbon panel is a special panel which appears when user clicks main ribbon button.
lpszName | Category (panel) name. |
uiSmallImagesResID | Resource ID of small images. |
uiLargeImagesResID | Resource ID of large images. |
sizeSmallImage | Specifies size of small images. |
sizeLargeImage | Specifies size of large images. |
pRTI | A new category runtime class. Should be either NULL or derived from CBCGPRibbonCategory. |