MFC 왕초보.. ㅡㅡ
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style &= ~(WS_THICKFRAME|WS_MAXIMIZEBOX);
// 추가 1
cs.cx = 1000;
// 추가 2
cs.cy = 900;
// 추가 3
return TRUE;
}
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style &= ~(WS_THICKFRAME|WS_MAXIMIZEBOX);
// 추가 1
cs.cx = 1000;
// 추가 2
cs.cy = 900;
// 추가 3
return TRUE;
}