BCGControlBar Pro for MFC
CString CBCGPToolBar::GetButtonText ( int  nIndex) const

Returns a text label of a toolbar button.

Returns
A CString object containing 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.