标签:rac message lpm int mfc sage span class code
使用:WM_GETMINMAXINFO message
1 void OnGetMinMaxInfo(MINMAXINFO* lpMMI) 2 { 3 lpMMI->ptMinTrackSize.x = 400; 4 lpMMI->ptMinTrackSize.y = 400; 5 lpMMI->ptMaxTrackSize.x = 400; 6 lpMMI->ptMaxTrackSize.y = 400; 7 }
上述方法就限制了窗口的大小为长400,高400。
标签:rac message lpm int mfc sage span class code
原文地址:https://www.cnblogs.com/2018shawn/p/10244188.html