summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus/src/BossKey.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-08 12:26:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-08 12:26:17 +0300
commit40a156173e722aaf0c9d454ac573f0a26338e065 (patch)
treec452b0d9901be98f074a11f4843ce16b4faf0f23 /plugins/BossKeyPlus/src/BossKey.cpp
parent54d93d2c1ae60d2205476cc08ad356fc7bbd13e0 (diff)
ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event
Diffstat (limited to 'plugins/BossKeyPlus/src/BossKey.cpp')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp
index f9e01c480e..02e0ac70de 100644
--- a/plugins/BossKeyPlus/src/BossKey.cpp
+++ b/plugins/BossKeyPlus/src/BossKey.cpp
@@ -634,9 +634,10 @@ int MirandaLoaded(WPARAM, LPARAM)
HookEvent(ME_OPT_INITIALISE, OptsDlgInit);
HookEvent(ME_MSG_WINDOWEVENT, MsgWinOpening);
HookEvent(ME_PROTO_ACCLISTCHANGED, EnumProtos);
- HookEvent(ME_MSG_TOOLBARLOADED, TabsrmmButtonsInit);
HookEvent(ME_MSG_BUTTONPRESSED, TabsrmmButtonPressed);
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, TabsrmmButtonsInit);
+
GetWindowThreadProcessId(pcli->hwndContactList, &g_dwMirandaPID);
WNDCLASS winclass = { 0 };