BCGControlBar Pro for MFC
CBCGPRibbonCaptionCustomButton* CBCGPRibbonBar::GetCaptionCustomButton ( int  nIndex) const

Retrivies a custom caption button by index.

Parameters
nIndexZero-based caption buton index.
Returns
The pointer to custom caption button.