From 4cae6c5f05010fff86c509e16dc38c916e981b77 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 24 Apr 2008 22:17:38 -0700 Subject: [PATCH] user32: edit controls should ignore WM_KEYDOWN on control + enter. --- dlls/user32/edit.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 4c0342b..b58dc96 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -4606,6 +4606,7 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) DWORD dw; if (!EDIT_IsInsideDialog(es)) return 1; + if (control) break; hwndParent = GetParent(es->hwndSelf); dw = SendMessageW( hwndParent, DM_GETDEFID, 0, 0 ); if (HIWORD(dw) == DC_HASDEFID) -- 1.5.2.2