CMFCToolBar* pBar =(CMFCToolBar*)AfxGetMainWnd()->GetDlgItem(IDR_TOOLBAR_MAINFRAME);//IDR_TOOLBAR_MAINFRAMEif (pBar == NULL) return;int nCount = pBar->GetCount();pBar->SetToolBarBtnText(0, L"ABCD");
貌似上面的代码不行
收起
RedrawWindow?
报告相同问题?