void CMainFrame::OnGetMinMaxInfo(MINMAXINFO* lpMMI)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
CFrameWnd::OnGetMinMaxInfo(lpMMI);
lpMMI-> ptMaxSize.x = GetSystemMetrics(SM_CXFULLSCREEN) + GetSystemMetrics(SM_CXDLGFRAME);
lpMMI-> ptMaxSize.y = GetSystemMetrics(SM_CYFULLSCREEN) + GetSystemMetrics(SM_CYCAPTION) + GetSystemMetrics(SM_CYDLGFRAME);
lpMMI->ptMinTrackSize.x =560;
lpMMI->ptMinTrackSize.y=400;
}
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
CFrameWnd::OnGetMinMaxInfo(lpMMI);
lpMMI-> ptMaxSize.x = GetSystemMetrics(SM_CXFULLSCREEN) + GetSystemMetrics(SM_CXDLGFRAME);
lpMMI-> ptMaxSize.y = GetSystemMetrics(SM_CYFULLSCREEN) + GetSystemMetrics(SM_CYCAPTION) + GetSystemMetrics(SM_CYDLGFRAME);
lpMMI->ptMinTrackSize.x =560;
lpMMI->ptMinTrackSize.y=400;
}