메뉴 바로가기

서브메뉴 바로가기

본문 바로가기

logo

C/C++/MFC
BOOL CCommuApp::InitInstance()

에서

             // The one and only window has been initialized, so show and update it.

             m_pMainWnd->ShowWindow( SW_SHOWMAXIMIZED);

             m_pMainWnd->UpdateWindow();



참고로
m_pMainWnd 는 CWnd 클래스이고,
pMainFrame   는 CMainFrame 클래스이다.
전혀 다른 것이다.