重载如下函数,即可。去掉“-” void OnUpdateFrameTitle(BOOL NaDa); void CMainFrame::OnUpdateFrameTitle(BOOL NaDa) { SetWindowText("我的标题"); }