summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-10 09:32:10 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-10 09:32:10 +0000
commit0d6df6501a6d19d0360db65470850a3950d0442c (patch)
tree0e14758e521e93e84989e4bd6f33e178023e3bff /plugins/TabSRMM/src/msgdialog.cpp
parentd704c2ede73ff75cc7f8c0f06ddec8e095959e99 (diff)
TabSRMM: Make shortcuts for "send menu" and "proto menu" customizable
git-svn-id: http://svn.miranda-ng.org/main/trunk@17082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index c62da21742..2bff3d0ad3 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1688,6 +1688,12 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
case TABSRMM_HK_USERMENU:
SendMessage(hwndDlg, WM_COMMAND, IDC_PROTOCOL, 0);
return _dlgReturn(hwndDlg, 1);
+ case TABSRMM_HK_SENDMENU:
+ SendMessage(hwndDlg, WM_COMMAND, IDC_SENDMENU, IDC_SENDMENU);
+ return _dlgReturn(hwndDlg, 1);
+ case TABSRMM_HK_PROTOMENU:
+ SendMessage(hwndDlg, WM_COMMAND, IDC_PROTOMENU, IDC_PROTOMENU);
+ return _dlgReturn(hwndDlg, 1);
case TABSRMM_HK_USERDETAILS:
SendMessage(hwndDlg, WM_COMMAND, MAKELONG(IDC_NAME, BN_CLICKED), 0);
return _dlgReturn(hwndDlg, 1);
@@ -1767,13 +1773,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
case 23: // ctrl - w
PostMessage(hwndDlg, WM_CLOSE, 1, 0);
break;
- case 19:
- PostMessage(hwndDlg, WM_COMMAND, IDC_SENDMENU, IDC_SENDMENU);
- break;
- case 16:
- PostMessage(hwndDlg, WM_COMMAND, IDC_PROTOMENU, IDC_PROTOMENU);
- break;
- case 20:
+ case 20: // ctrl - t
PostMessage(hwndDlg, WM_COMMAND, IDC_TOGGLETOOLBAR, 1);
break;
}