CToolBar::GetButtonText

This method retrieves the text that appears on a button. The second form of this method fills a CString object with the string text.

At a Glance

Header file: Afxext.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

CString GetButtonText( int nIndex ) const;

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