BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawRibbonCategory ( CDC *  pDC,
CBCGPRibbonCategory pCategory,
CRect  rectCategory 

Called by the framework when it needs to draw a ribbon category

The Ribbon Category is a logical entity. In terms of Visual Manager a Ribbon Category is a page where all panels, which belong to specified category, are located.

pDCA pointer to a device context.
pCategoryA pointer to category.
rectCategoryBounding rectangle of the page (all category panels).