This method retrieves the text that appears on a button. The second form of this method fills a CString object with the string text.
Header file: | Afxext.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
CString GetButtonText( int nIndex ) const;
void GetButtonText( int nIndex, CString& rString ) const;