2008/10/13

MFC MDI 에서 초기 자식창 생성 막기


CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

// Don't display a new MDI child window during startup
if (cmdInfo.m_nShellCommand == CCommandLineInfo::FileNew)
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;

if (!ProcessShellCommand(cmdInfo))
return FALSE;

Original Post : http://neodreamer-dev.tistory.com/183

No comments :

Post a Comment