[code]InitInstance 안에서 [/code]
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// MDI에서 자식창 없이 실행하기
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
// Dispatch commands specified on the command line. Will return FALSE if
// app was launched with /RegServer, /Register, /Unregserver or /Unregister.
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// MDI에서 자식창 없이 실행하기
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
// Dispatch commands specified on the command line. Will return FALSE if
// app was launched with /RegServer, /Register, /Unregserver or /Unregister.
if (!ProcessShellCommand(cmdInfo))
return FALSE;
'Windows > MFC' 카테고리의 다른 글
AfxMessageBox (0) | 2013.10.02 |
---|---|
MFC Apllication에서 Frame, Doc / View상에서 다른 개체를 참고하는 방법 (0) | 2013.10.02 |
OS의 언어의 종류를 알수 있는 방법 (0) | 2013.10.02 |
CRichEditCtrl change font & color (0) | 2013.10.02 |
CRichEditCtrl (0) | 2013.10.02 |