在BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)中,添加m_strTitle = _T("jiangfagen2"); //你要修改的标题 cs.style &= ~FWS_ADDTOTITLE;