在theApp对应的那个类中 的Instance函数 ParseCommandLine(cmdInfo); 后面加入
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;//这样启动时不打开空白文档
注释掉BOOL CMainFrame::CreateCaptionBar()的
/*bNameValid = strTemp.LoadString(IDS_CAPTION_BUTTON);
ASSERT(bNameValid);
m_wndCaptionBar.SetButton(strTemp, ID_TOOLS_OPTIONS, CMFCCaptionBar::ALIGN_LEFT, FALSE);
bNameValid = strTemp.LoadString(IDS_CAPTION_BUTTON_TIP);
ASSERT(bNameValid);
m_wndCaptionBar.SetButtonToolTip(strTemp);*/
<