BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseTabbedBar::CanSetCaptionTextToTabName ( ) const

Tells whether the caption of the tabbed control bar should display the same text as the active tab.

TRUE - the caption text is set to the text of the active tab. FALSE - caption text doesn't reflect the active tab text.

The function is used to determine whether the text displayed on the tabbed control bar caption should reflect the label of the active tab. This ability is turned on/off using EnableSetCaptionTextToTabName().