固定文档高度和宽度

重载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);
}

posted @ 2014-03-05 08:54  友琼  阅读(191)  评论(0编辑  收藏  举报