Commit ae1b7355 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

user32: Edit controls should ignore WM_KEYDOWN on control + enter.

parent ed714d09
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment