使用string table里的字符串CString strTitle;strTitle.LoadString(ID_FRAME_TITLE);pMainFrame->SetTitle((LPSTR)(LPCTSTR)strTitle);