From: Nikolay Sivov <nsivov(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56108 --- dlls/comctl32/edit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/comctl32/edit.c b/dlls/comctl32/edit.c index e57f3d328d1..d7f387fd342 100644 --- a/dlls/comctl32/edit.c +++ b/dlls/comctl32/edit.c @@ -3028,6 +3028,9 @@ static LRESULT EDIT_WM_Char(EDITSTATE *es, WCHAR c) { BOOL control; + if (es->bCaptureState) + return 0; + control = GetKeyState(VK_CONTROL) & 0x8000; switch (c) { @@ -3284,6 +3287,9 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) BOOL shift; BOOL control; + if (es->bCaptureState) + return 0; + if (GetKeyState(VK_MENU) & 0x8000) return 0; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7606