diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-22 09:44:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-22 09:44:58 +0000 |
commit | ee9b16891f9468015f519a1c78023dacda7f6a0a (patch) | |
tree | 9df43860901d90be2d5e6246e3294493a6324c8f | |
parent | 20c925dcb5472f874b744a200501bd914779ad34 (diff) |
fixed min dialog size (thx person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index e84f4a33e6..2bdb6117a4 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -349,6 +349,17 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) }
break;
+ case WM_GETMINMAXINFO:
+ {
+ LPMINMAXINFO mmi = (LPMINMAXINFO)lParam;
+
+ // The minimum width in points
+ mmi->ptMinTrackSize.x = 370;
+ // The minimum height in points
+ mmi->ptMinTrackSize.y = 300;
+ }
+ break;
+
case WM_DESTROY:
Utils_SaveWindowPosition(hDlg, NULL, MODNAME, "ListWindow");
Skin_ReleaseIcon((HICON)SendMessage(hDlg, WM_SETICON, ICON_BIG, 0));
|