使程序在启动时不创建一个新文档

来源:互联网 发布:sky 知乎live 编辑:程序博客网 时间:2024/06/02 17:57

CTabsApp::InitInstance()


在程序的InitInstance中的ProcessShellCommand函数之前加入:

    cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;

原创粉丝点击