user32: Edit controls should ignore WM_KEYDOWN on control + enter.
This commit is contained in:
parent
ed714d09b7
commit
ae1b735547
|
@ -4606,6 +4606,7 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key)
|
||||||
DWORD dw;
|
DWORD dw;
|
||||||
|
|
||||||
if (!EDIT_IsInsideDialog(es)) return 1;
|
if (!EDIT_IsInsideDialog(es)) return 1;
|
||||||
|
if (control) break;
|
||||||
hwndParent = GetParent(es->hwndSelf);
|
hwndParent = GetParent(es->hwndSelf);
|
||||||
dw = SendMessageW( hwndParent, DM_GETDEFID, 0, 0 );
|
dw = SendMessageW( hwndParent, DM_GETDEFID, 0, 0 );
|
||||||
if (HIWORD(dw) == DC_HASDEFID)
|
if (HIWORD(dw) == DC_HASDEFID)
|
||||||
|
|
Loading…
Reference in New Issue