CToolBar::SetButtonText
Call this function to set the text on a button.
BOOL SetButtonText(
int nIndex,
LPCTSTR lpszText
);
Параметры
nIndex
Index of the button whose text is to be set.lpszText
Points to the text to be set on a button.
Возвращаемое значение
Nonzero if successful; otherwise 0.
Пример
See the example for CToolBar::GetToolBarCtrl.
Требования
Header: afxext.h