Index: src/ch/FeedbackReplaceDlg.cpp =================================================================== diff -u -rf13be87a570836c2589ef2d127a5e1e8904f6b79 -r5b4b933c78513d867ec02d33325907c2069c7bef --- src/ch/FeedbackReplaceDlg.cpp (.../FeedbackReplaceDlg.cpp) (revision f13be87a570836c2589ef2d127a5e1e8904f6b79) +++ src/ch/FeedbackReplaceDlg.cpp (.../FeedbackReplaceDlg.cpp) (revision 5b4b933c78513d867ec02d33325907c2069c7bef) @@ -65,6 +65,7 @@ ON_BN_CLICKED(IDC_MASS_RENAME_MENUBUTTON, &CFeedbackReplaceDlg::OnBnMassRename) ON_BN_CLICKED(IDC_MASS_RESUME_MENUBUTTON, &CFeedbackReplaceDlg::OnBnMassResume) ON_BN_CLICKED(IDC_MASS_SKIP_MENUBUTTON, &CFeedbackReplaceDlg::OnBnMassSkip) + ON_WM_GETMINMAXINFO() END_MESSAGE_MAP() @@ -74,6 +75,8 @@ { CLanguageDialog::OnInitDialog(); + GetWindowRect(&m_rcInitial); + // set dialog icon HICON hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); SetIcon(hIcon, FALSE); @@ -326,3 +329,12 @@ { return m_bAllItems != FALSE; } + +void CFeedbackReplaceDlg::OnGetMinMaxInfo(MINMAXINFO* lpMMI) +{ + if (m_rcInitial.Width() != 0 && m_rcInitial.Height() != 0) + { + lpMMI->ptMinTrackSize.y = m_rcInitial.Height(); + lpMMI->ptMaxTrackSize.y = m_rcInitial.Height(); + } +} Index: src/ch/FeedbackReplaceDlg.h =================================================================== diff -u -rf13be87a570836c2589ef2d127a5e1e8904f6b79 -r5b4b933c78513d867ec02d33325907c2069c7bef --- src/ch/FeedbackReplaceDlg.h (.../FeedbackReplaceDlg.h) (revision f13be87a570836c2589ef2d127a5e1e8904f6b79) +++ src/ch/FeedbackReplaceDlg.h (.../FeedbackReplaceDlg.h) (revision 5b4b933c78513d867ec02d33325907c2069c7bef) @@ -78,6 +78,8 @@ BOOL m_bAllItems; + CRect m_rcInitial; + protected: const chengine::TFileInfo& m_rSrcFile; const chengine::TFileInfo& m_rDstFile; @@ -93,6 +95,8 @@ afx_msg void OnBnMassRename(); afx_msg void OnBnMassResume(); afx_msg void OnBnMassSkip(); + + afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI); }; #endif