BCGControlBar Pro for MFC
int CBCGPRibbonBar::GetCaptionCustomButtonsCount ( ) const

Returns custom caption buttons count.

Returns
The custom caption buttons count.