防火包一立方米是多少:怎样让多文档程序在启动时不打开一个空文档
来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 01:24:45
BOOL CMyWinApp::InitInstance()
{
...
// Parse command line for standard shell commands, DDE, file open.
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Do not 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;
...
};
为了去掉开始的子窗口,可在应用程序文件
分析命令行的语句
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
后加入:
cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
{
...
// Parse command line for standard shell commands, DDE, file open.
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Do not 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;
...
};
为了去掉开始的子窗口,可在应用程序文件
分析命令行的语句
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
后加入:
cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
怎样让多文档程序在启动时不打开一个空文档
多文档入门——程序启动时显示窗口个数
在单文档程序中动态切换多个窗体 - VC - 文档中心 - 源码天空
在单文档程序中动态切换多个窗体 - VC - 文档中心 - 源码
低版本Office打开Office 2007文档 转换程序
在RCP程序中嵌入Word文档
不想让自己打开过的文件表格在开始菜单文档里出现怎么设置
各类文档打开方法
Flash视频教程(打开文档) -
怎样在Word2003文档中隐藏图片
怎样在word文档中插入文本框?
如何让word文档只能打开但是不能编辑
"WORD无法打开文档 用户没有访问权"问题解决和怎样“用文本恢复转换器打开文件”? word文件无法读取此文档,文档可能已损坏
"WORD无法打开文档 用户没有访问权"问题解决和怎样“用文本恢复转换器打开文件”? word文件无法读取此文档,文档可能已损坏
如何打开超大DOC文档
在VC/MFC编程中将单文档程序改成多文档方法(原创)_闲云野鹤的博客 —— 纪念大二和大...
最绿色最高效,用win+r启动常用程序和文档
文档保护Word文档不被修改
怎样恢复一个已破坏的Word文档
怎样“用文本恢复转换器打开文件”? word文件无法读取此文档,
怎样“用文本恢复转换器打开文件”! word文件无法读取此文档,
不打开文档也能批量打印 - 电脑迷杂志社官方网站
word新手入门--保存和打开文档
电脑的word文档不能打开