From f903074b63cf7a6f63476e14be1476056e6b76e3 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Tue, 3 Nov 2015 15:12:36 +0000 Subject: Stdmsg: Do not send tab key as input text to message window if user just wants to tab back to Msg window. git-svn-id: http://svn.miranda-ng.org/main/trunk@15672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/richutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/stdmsg/src/richutil.cpp b/src/core/stdmsg/src/richutil.cpp index 1ea7f0af1f..66b8c85b14 100644 --- a/src/core/stdmsg/src/richutil.cpp +++ b/src/core/stdmsg/src/richutil.cpp @@ -100,7 +100,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM HWND hwndMsg = GetDlgItem(GetParent(hwnd), IDC_MESSAGE); if (hwndMsg != hwnd) { SetFocus(hwndMsg); - SendMessage(hwndMsg, WM_CHAR, wParam, lParam); + if (wParam != '\t') SendMessage(hwndMsg, WM_CHAR, wParam, lParam); } } break; -- cgit v1.2.3