summaryrefslogtreecommitdiff
path: root/plugins/Import
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-19 20:30:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-19 20:30:44 +0300
commit499311e7496c195473e3fde816d7419c98dc5cd2 (patch)
tree795838b51f26672b8df4cd5579fcda3ada2026f0 /plugins/Import
parent313939ac791820b092cb789ed3164a94f6a649f2 (diff)
minimum size for the wizard's window
Diffstat (limited to 'plugins/Import')
-rw-r--r--plugins/Import/src/wizard.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp
index 25589133e9..869fc81bf7 100644
--- a/plugins/Import/src/wizard.cpp
+++ b/plugins/Import/src/wizard.cpp
@@ -219,6 +219,14 @@ public:
SetDlgItemText(m_hwnd, IDCANCEL, (wchar_t*)lParam);
break;
+ case WM_GETMINMAXINFO:
+ {
+ LPMINMAXINFO lpMMI = (LPMINMAXINFO)lParam;
+ lpMMI->ptMinTrackSize.x = 330;
+ lpMMI->ptMinTrackSize.y = 232;
+ }
+ return 1;
+
case WM_COMMAND:
SendMessage(hwndPage, WM_COMMAND, wParam, lParam);
break;