BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawRibbonCaption ( CDC *  pDC,
CBCGPRibbonBar pBar,
CRect  rect,
CRect  rectText 

Called by the framework to draw caption of main frame when ribbon bar is integrated with the frame.

pDCA pointer to a device context.
pBarA pointer to ribbon bar.
rectBounding rectangle of ribbon bar.
rectTextBounding rectangle of caption text.