请问:怎么更改多文档程序的默认框架
请教:如何更改多文档程序的默认框架
我有一个多文档程序,其中自己又创建了几个子框架,现在的问题是程序启动时首先显示的是自己的子框架,可我需要将我自己创建的子框架作为默认框架,在程序启动时首先显示,如何做呢?多谢!!
------解决方案--------------------
我觉得可以先将你不要的主框架的窗口什么的隐藏,然后就会先显示你的子框架的东西。
------解决方案--------------------
我有一个多文档程序,其中自己又创建了几个子框架,现在的问题是程序启动时首先显示的是自己的子框架,可我需要将我自己创建的子框架作为默认框架,在程序启动时首先显示,如何做呢?多谢!!
------解决方案--------------------
我觉得可以先将你不要的主框架的窗口什么的隐藏,然后就会先显示你的子框架的东西。
------解决方案--------------------
- C/C++ code
// From CMyWinApp::InitInstance // Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // DON'T display a new MDI child window during startup!!! cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing; // Dispatch commands specified on the command line if (!ProcessShellCommand(cmdInfo)) return FALSE;
------解决方案--------------------
http://blog.csdn.net/visualeleven/article/details/7010821