BCGControlBar Pro for MFC
void CBCGPToolBar::SetToolBarBtnText ( UINT  nBtnIndex,
LPCTSTR  szText = NULL,
BOOL  bShowText = TRUE,
BOOL  bShowImage = TRUE 
)

Sets a new text label to the specified toolbar button, and specifies whether the toolbar button's text and image should be displayed or not.

The SetToolBarBtnText function sets a new text label to a toolbar button. Along with this, it allows to specify whether the button displays its text and image.

By default, toolbar buttons don't display text labels.

Parameters
nBtnIndexSpecifies the button's index in the toolbar's list of buttons.
szTextSpecifies the text to set.
bShowTextSpecifies whether to display the button's text or not.
bShowImageSpecifies whether to display the button's index or not.