BOOL CMainFrame::PreCreateWindow(CREATESTRUCT
&
cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
cs.cx = 350;
cs.cy = 600;
cs.dwExStyle &= ~WS_EX_CLIENTEDGE;
//cs.dwExStyle |=WS_CLIPCHILDREN;//should NOT use this
cs.lpszClass = AfxRegisterWndClass(0);
return TRUE;
}
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
cs.cx = 350;
cs.cy = 600;
cs.dwExStyle &= ~WS_EX_CLIENTEDGE;
//cs.dwExStyle |=WS_CLIPCHILDREN;//should NOT use this
cs.lpszClass = AfxRegisterWndClass(0);
return TRUE;
}
========================
以上内容有待进一步修正!