CToolBar::GetButtonText

CString GetButtonText( int nIndex ) const;

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

Return Value

A CString object containing the button text.

Parameters

nIndex

Index of the text to be retrieved.

rString

A reference to a CString object that will contain the text to be retrieved.

Remarks

Call this member function to retrieve the text that appears on a button. The second form of this member function fills a CString object with the string text.

CToolBar OverviewClass MembersHierarchy Chart

See Also   CToolBar::SetButtonText