Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the text label of a button that has a specified index.
CString GetButtonText(
int nIndex
) const;
void GetButtonText(
int nIndex,
CString& rString
) const;
Parameters
[in] nIndex
The index of a toolbar button.[out] rString
The label text of the toolbar button.
Return Value
The label text of the toolbar button.
Remarks
Call CMFCToolBar::SetButtonText or CMFCToolBar::SetToolBarBtnText to set the text label.
Requirements
Header: afxtoolbar.h