본문 바로가기

Programming/MFC

윈도우 중앙에 띄우기

MainFrame에서 MainFrame을 전부 생성하고 마지막에 CenterWindow() ;를 호출하거나

 

CApp::InitInstance() 에서 m_pMainWnd->CenterWindow() ; 호출 하면 된다.