summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-06 23:12:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-06 23:12:21 +0300
commit97d55ca3bede2281dc5b615fb9755195963aa83b (patch)
tree217c39008a698b24d7487a07b46db78b2ab4cac6 /plugins/Scriver/src/chat
parent2edf7b43622a8f29a0bfaf578c30127f933fe2c9 (diff)
forgotten code for processing toolbar button events
Diffstat (limited to 'plugins/Scriver/src/chat')
-rw-r--r--plugins/Scriver/src/chat/window.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp
index 81e1b92c12..ce1168ceb6 100644
--- a/plugins/Scriver/src/chat/window.cpp
+++ b/plugins/Scriver/src/chat/window.cpp
@@ -1529,6 +1529,12 @@ LABEL_SHOWWINDOW:
if (!lParam && Clist_MenuProcessCommand(LOWORD(wParam), MPCF_CONTACTMENU, si->hContact))
break;
+ if (HIWORD(wParam) == BN_CLICKED)
+ if (LOWORD(wParam) >= MIN_CBUTTONID && LOWORD(wParam) <= MAX_CBUTTONID) {
+ Srmm_ClickToolbarIcon(si->hContact, LOWORD(wParam), GetDlgItem(hwndDlg, LOWORD(wParam)), 0);
+ break;
+ }
+
switch (LOWORD(wParam)) {
case IDC_CHAT_LIST:
if (HIWORD(wParam) == LBN_DBLCLK) {