diff options
Diffstat (limited to 'plugins/Actman')
-rw-r--r-- | plugins/Actman/actman.dpr | 3 | ||||
-rw-r--r-- | plugins/Actman/iac_service.pas | 5 | ||||
-rw-r--r-- | plugins/Actman/ua/i_uaplaces.inc | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr index f66f265381..f9eee181cb 100644 --- a/plugins/Actman/actman.dpr +++ b/plugins/Actman/actman.dpr @@ -122,7 +122,6 @@ var // ii:tIconItem;
begin
FillChar(sid,SizeOf(sid),0);
- sid.cbSize:=SizeOf(sid);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='Actions';
@@ -192,7 +191,7 @@ begin LoadMacros;
RegisterIcons;
-
+
HookEvent(ME_OPT_INITIALISE ,@OnOptInitialise);
HookEvent(ME_SYSTEM_PRESHUTDOWN{ME_SYSTEM_OKTOEXIT},@PreShutdown);
NotifyEventHooks(hHookChanged,twparam(ACTM_LOADED),0);
diff --git a/plugins/Actman/iac_service.pas b/plugins/Actman/iac_service.pas index f9b2b6ba15..cfeb456191 100644 --- a/plugins/Actman/iac_service.pas +++ b/plugins/Actman/iac_service.pas @@ -421,14 +421,13 @@ function DlgProc(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; var
ServiceBlock:HWND;
rc:TRECT;
- b:bool;
begin
result:=0;
case hMessage of
WM_DESTROY: begin
end;
-
+
WM_INITDIALOG: begin
GetClientRect(Dialog,rc);
ServiceBlock:=CreateServiceBlock(Dialog,0,0,rc.right,rc.bottom,
@@ -481,7 +480,7 @@ begin WM_COMMAND: begin
case wParam shr 16 of
CBN_EDITCHANGE,
- BN_CLICKED:
+ BN_CLICKED:
SendMessage(GetParent(GetParent(Dialog)),PSM_CHANGED,0,0);
end;
end;
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc index 222065b460..680566e2fc 100644 --- a/plugins/Actman/ua/i_uaplaces.inc +++ b/plugins/Actman/ua/i_uaplaces.inc @@ -153,7 +153,6 @@ begin begin
// add icon for action to icolib
fillChar(sid,SizeOf(sid),0);
- sid.cbSize :=sizeof(sid);
sid.szSection .w:=ICOLIB_ACTSECTION;
sid.szDefaultFile.w:=szMyPath;
sid.iDefaultIndex :=-IDI_ACTION;
@@ -178,7 +177,6 @@ begin begin
// add icon for action to icolib
fillChar(sid,SizeOf(sid),0);
- sid.cbSize :=sizeof(sid);
sid.szSection .w:=ICOLIB_ACTSECTION;
sid.szDefaultFile.w:=szMyPath;
sid.iDefaultIndex :=-IDI_ACTION;
@@ -259,7 +257,6 @@ var begin
FillChar(sid,SizeOf(sid),0);
//first - register icon for root popup
- sid.cbSize := sizeof(sid);
sid.szSection.w := ICOLIB_MNUSECTION;
sid.flags := SIDF_ALL_UNICODE;
sid.cx := 16;
|