diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-21 21:50:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-21 21:50:52 +0300 |
commit | b9e9f7760aa47c8ac230ffcfaba04a196897a712 (patch) | |
tree | ee8c8df6046378ae0cd8d33f32f02daf40964bf2 /plugins | |
parent | 216654c005d6b363c91ee3dfbff2203bab4e06c1 (diff) |
oops... removed too much code
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index 38603f90b9..efd524d576 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -600,6 +600,13 @@ LRESULT CALLBACK CChatRoomDlg::MessageSubclassProc(HWND hwnd, UINT msg, WPARAM w if (PluginConfig.m_bSoundOnTyping && !isAlt && !isCtrl && !(pDlg->m_pContainer->dwFlags & CNT_NOSOUND) && wParam != VK_ESCAPE && !(wParam == VK_TAB && PluginConfig.m_bAllowTab)) SkinPlaySound("SoundOnTyping"); + if (isCtrl && !isAlt && !isShift) + switch(wParam) { + case 0x17: + PostMessage(hwndParent, WM_CLOSE, 0, 1); + return 0; + } + if (pDlg->ProcessHotkeys(wParam)) return true; break; |