在MDI工程中,是子窗口最大化:
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
在APP类的InitInstance()函数中
// The one and only window has been initialized, so show and update it.
m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);//程序界面最大化显示
m_pMainWnd->UpdateWindow();