BCGControlBar Pro for MFC
CBCGPBaseRibbonElement* CBCGPRibbonBar::GetCaptionButton ( int  nIndex) const

Retrieved the custom caption control.

Parameters
nIndexThe custom caption control index.