diff --git a/dll/win32/comctl32/edit.c b/dll/win32/comctl32/edit.c index d17c7f20d30..89d8e5be9a6 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 (es->bCaptureState) + { + 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..79f7eeacc3d 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 (es->bCaptureState) + { + return 0; + } + control = GetKeyState(VK_CONTROL) & 0x8000; switch (c) {