Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CToolBar::GetButtonText

Call this member function to retrieve the text that appears on a button.

CString GetButtonText(
   int nIndex 
) const;
void GetButtonText(
   int nIndex,
   CString& rString 
) const;

Parameters

nIndex
Index of the text to be retrieved.
rString
A reference to a CString object that will contain the text to be retrieved.

Return Value

A CString object containing the button text.

Remarks

The second form of this member function fills a CString object with the string text.

See Also

CToolBar Overview | Class Members | Hierarchy Chart | CToolBar::SetButtonText

Show:
© 2015 Microsoft