diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-21 12:01:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-21 12:01:49 +0000 |
commit | e865872b4ef16b6e40cfe868843f1070fa3a239b (patch) | |
tree | 0710f76e005c25ce151c46015c0853af6101d2cc /plugins/QuickSearch/sr_window.pas | |
parent | 87cf54594168e5579bbb852bcb4aaae3fefa3b89 (diff) |
- resizer moved to mir_core, because it uses hard-coded windows structures;
- MS_UTILS_RESIZEDIALOG replaced with a short call of Utils_ResizeDialog;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14295 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/sr_window.pas')
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 17fbc25e57..70287137f5 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -1897,7 +1897,6 @@ var rc:TRECT;
pt:TPOINT;
TI:tToolInfoW;
- urd:TUTILRESIZEDIALOG;
begin
result:=0;
case hMessage of
@@ -1908,8 +1907,6 @@ begin UnhookEvent(hAdd);
UnhookEvent(hDelete);
UnhookEvent(hChange);
-// UnhookEvent(hAccount);
-
UnhookEvent(colorhook);
mainwnd:=0;
@@ -2068,14 +2065,7 @@ begin WM_SIZE: begin
SendMessage(StatusBar,WM_SIZE,0,0);
- FillChar(urd,SizeOf(TUTILRESIZEDIALOG),0);
- urd.cbSize :=SizeOf(urd);
- urd.hwndDlg :=Dialog;
- urd.hInstance :=hInstance;
- urd.lpTemplate:=MAKEINTRESOURCEA(IDD_MAIN);
- urd.lParam :=0;
- urd.pfnResizer:=@FindAddDlgResizer;
- CallService(MS_UTILS_RESIZEDIALOG,0,tlparam(@urd));
+ Utils_ResizeDialog(Dialog, hInstance, MAKEINTRESOURCEA(IDD_MAIN), @FindAddDlgResizer);
end;
WM_SYSCOMMAND: begin
|