summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/srvblock.pas
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-03-08 13:10:05 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-03-08 13:10:05 +0000
commitd83baeb842ea828eaee90a0cd6575872a95240e8 (patch)
tree8d775bb8920446118011093658caf7d9c0d61ed4 /plugins/Utils.pas/srvblock.pas
parent0da38f608c271216398052dc0030b901951143ec (diff)
Pascal-style type correction
Letter case correction small fixes Actman UA part dialog slightly changed git-svn-id: http://svn.miranda-ng.org/main/trunk@8473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas/srvblock.pas')
-rw-r--r--plugins/Utils.pas/srvblock.pas7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/Utils.pas/srvblock.pas b/plugins/Utils.pas/srvblock.pas
index debd99cddf..d8e4465f0b 100644
--- a/plugins/Utils.pas/srvblock.pas
+++ b/plugins/Utils.pas/srvblock.pas
@@ -1,3 +1,6 @@
+{
+ in dialog: sends CBN_EDITCHANGE for changes
+}
unit srvblock;
interface
@@ -227,7 +230,7 @@ begin
ReloadService(Dialog,@buf,true);
end;
-function DlgServiceProc(Dialog:HWnd;hMessage:uint;wParam:WPARAM;lParam:LPARAM):lresult; stdcall;
+function DlgServiceProc(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall;
var
proc:pointer;
pc:pAnsiChar;
@@ -264,6 +267,8 @@ begin
IDC_CLOSE_WPAR,
IDC_CLOSE_LPAR,
IDC_CLOSE_RES: ShowBlock(Dialog,loword(wParam));
+ else // from parameter and result
+ SendMessage(GetParent(Dialog),WM_COMMAND,BN_CLICKED shl 16,Dialog);
end;
end;