BCGControlBar Pro for MFC
void CBCGPToolBar::GetButtonText ( int  nIndex,
CString &  rString 
) const

Returns a text label of a toolbar button.

Call this member function to retrieve a text label of toolbar button. You can set a text label by SetButtonText() and SetToolBarBtnText() functions.

Parameters
nIndex[in] Specifies an index of a toolbar button.
rString[out] A reference to a CString object that receives a button's text data.