CMFCToolBar* pBar =(CMFCToolBar*)AfxGetMainWnd()->GetDlgItem(IDR_TOOLBAR_MAINFRAME);//IDR_TOOLBAR_MAINFRAME
if (pBar == NULL) return;
int nCount = pBar->GetCount();
pBar->SetToolBarBtnText(0, L"ABCD");
貌似上面的代码不行
RedrawWindow
?
请看看这里的例子: http://t.csdn.cn/9KNf5
还有人回答没有