diff --git a/dll/win32/comctl32/edit.c b/dll/win32/comctl32/edit.c index d17c7f20d30..a4051b00502 100644 --- a/dll/win32/comctl32/edit.c +++ b/dll/win32/comctl32/edit.c @@ -3051,6 +3051,11 @@ static LRESULT EDIT_WM_Char(EDITSTATE *es, WCHAR c) { BOOL control; + if (GetKeyState(VK_LBUTTON) & 0x80) + { + return 0; + } + control = GetKeyState(VK_CONTROL) & 0x8000; switch (c) { diff --git a/win32ss/user/user32/controls/edit.c b/win32ss/user/user32/controls/edit.c index bfe910c8cde..a916d0a1584 100644 --- a/win32ss/user/user32/controls/edit.c +++ b/win32ss/user/user32/controls/edit.c @@ -3286,6 +3286,11 @@ static LRESULT EDIT_WM_Char(EDITSTATE *es, WCHAR c) { BOOL control; + if (GetKeyState(VK_LBUTTON) & 0x80) + { + return 0; + } + control = GetKeyState(VK_CONTROL) & 0x8000; switch (c) {