响应WM_GETMAXMININFO 的消息
处理之
void CMainFrame::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)
{
// TODO: Add your message handler code here and/or call default
lpMMI->ptMinTrackSize.x = 100 ;
lpMMI->ptMinTrackSize.y = 100 ;
lpMMI->ptMaxTrackSize.x = 200 ;
lpMMI->ptMaxTrackSize.y = 200; CFrameWnd::OnGetMinMaxInfo(lpMMI);
}
这样的话,窗口就被我框死啦,嘿嘿
长和宽的范围都是100-200