Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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