MDI 프로그램에서 처음에 새창 띄우지 않기
Study/MFC 2005. 4. 6. 14:00 |App 클래스의 InitInstance() 함수 중간 부분에 다음과 같은 부분을 찾는다.
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
이는 command line 인자에 대한 처리를 위한 것인데, 다음과 같이 한줄을 추가한다.
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
이는 command line 인자에 대한 처리를 위한 것인데, 다음과 같이 한줄을 추가한다.
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
'Study > MFC' 카테고리의 다른 글
Windowx XP의 visual style 을 적용해보자 (0) | 2005.06.05 |
---|---|
동적 할당으로 2차원 배열을 생성하는 새로운 방법 (0) | 2005.04.21 |
view에 이미지 출력시 바탕에 사선 넣기 (0) | 2005.04.06 |
heavy(?) 한 작업 시 메시지 처리하기 (0) | 2005.04.06 |
Visual C++ 6.0의 Profile 기능을 이용한 연산 시간 측정 (1) | 2005.04.06 |