BCGControlBar Pro for MFC
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.

A pointer to the newly created 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.

lpszNameCategory (panel) name.
uiSmallImagesResIDResource ID of small images.
uiLargeImagesResIDResource ID of large images.
sizeSmallImageSpecifies size of small images.
sizeLargeImageSpecifies size of large images.
pRTIA new category runtime class. Should be either NULL or derived from CBCGPRibbonCategory.