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

This commit is contained in:
Lei Zhang 2008-04-24 22:17:38 -07:00 committed by Alexandre Julliard
parent ed714d09b7
commit ae1b735547
1 changed files with 1 additions and 0 deletions

View File

@ -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)