响应WM_GETMINMAXINFO消息。CWnd派生类都可以响应此消息
afx_msg void OnGetMinMaxInfo( MINMAXINFO* lpMMI );
ON_WM_GETMINMAXINFO()
void CxxxxDlg::OnGetMinMaxInfo(MINMAXINFO* lpMMI)
{
lpMMI->ptMinTrackSize.x=400;
lpMMI->ptMinTrackSize.y=400;
CDialog::OnGetMinMaxInfo(lpMMI);
}