CToolBar::SetButtonText

BOOL SetButtonText( int nIndex, LPCTSTR lpszText );

Return Value

Nonzero if successful; otherwise 0.

Parameters

nIndex

Index of the button whose text is to be set.

lpszText

Points to the text to be set on a button.

Remarks

Call this function to set the text on a button.

CToolBar OverviewClass MembersHierarchy Chart

See Also   CToolBar::GetButtonText