This topic has not yet been rated - Rate this topic

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;
nIndex

Index of the text to be retrieved.

rString

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

A CString object containing the button text.

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

Header: afxext.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.