diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-21 22:11:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-21 22:11:50 +0300 |
commit | 2dda3af35cf70b8ed614f88455a30090e5befc2f (patch) | |
tree | dfdb314943eab15ee185087ff3a6c1c510ed0e04 /plugins/TabSRMM/src/chat_window.cpp | |
parent | b9e9f7760aa47c8ac230ffcfaba04a196897a712 (diff) |
- fix for button codes in tabSRMM;
- CSrmmBaseDialog::ProcessHotkeys to receives control keys statuses as well
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index efd524d576..331bd3da2e 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -607,8 +607,6 @@ LRESULT CALLBACK CChatRoomDlg::MessageSubclassProc(HWND hwnd, UINT msg, WPARAM w return 0; } - if (pDlg->ProcessHotkeys(wParam)) - return true; break; case WM_KEYDOWN: @@ -618,6 +616,9 @@ LRESULT CALLBACK CChatRoomDlg::MessageSubclassProc(HWND hwnd, UINT msg, WPARAM w if (PluginConfig.m_bSoundOnTyping && !isAlt && wParam == VK_DELETE) SkinPlaySound("SoundOnTyping"); + if (pDlg->ProcessHotkeys(wParam, isShift, isCtrl, isAlt)) + return true; + if (wParam == VK_INSERT && !isShift && !isCtrl && !isAlt) { pDlg->m_bInsertMode = !pDlg->m_bInsertMode; SendMessage(hwndParent, WM_COMMAND, MAKEWPARAM(GetDlgCtrlID(hwnd), EN_CHANGE), (LPARAM)hwnd); |