固定文档高度和宽度
重载CMainFrame类的OnGetMinMaxInfo()函数,
void CMainFrame::OnGetMinMaxInfo(MINMAXINFO* lpMMI)
{
lpMMI->ptMaxTrackSize.x = 735;
lpMMI->ptMaxTrackSize.y = 650;
lpMMI->ptMinTrackSize.x = 735;
lpMMI->ptMinTrackSize.y = 650;
CFrameWnd::OnGetMinMaxInfo(lpMMI);
}