user32/tests: Add missing winevents to test_edit_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8502b6817f
commit
1e43edd800
|
@ -11862,7 +11862,10 @@ static const struct message sl_edit_invisible[] =
|
||||||
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
|
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
|
||||||
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|optional, OBJID_CLIENT, 0 }, /* Sent for IME. */
|
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|optional, OBJID_CLIENT, 0 }, /* Sent for IME. */
|
||||||
{ WM_KILLFOCUS, sent|parent },
|
{ WM_KILLFOCUS, sent|parent },
|
||||||
|
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
|
||||||
{ WM_SETFOCUS, sent },
|
{ WM_SETFOCUS, sent },
|
||||||
|
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
||||||
|
{ EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
||||||
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
|
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
@ -11877,6 +11880,7 @@ static const struct message ml_edit_setfocus[] =
|
||||||
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 11 },
|
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 11 },
|
||||||
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
||||||
{ EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
{ EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
|
||||||
|
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, OBJID_CARET, 0 },
|
||||||
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
|
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
@ -18551,6 +18555,7 @@ START_TEST(msg)
|
||||||
test_DestroyWindow();
|
test_DestroyWindow();
|
||||||
test_DispatchMessage();
|
test_DispatchMessage();
|
||||||
test_SendMessageTimeout();
|
test_SendMessageTimeout();
|
||||||
|
test_edit_messages();
|
||||||
|
|
||||||
/* Fix message sequences before removing 4 lines below */
|
/* Fix message sequences before removing 4 lines below */
|
||||||
if (pUnhookWinEvent && hEvent_hook)
|
if (pUnhookWinEvent && hEvent_hook)
|
||||||
|
@ -18561,7 +18566,6 @@ START_TEST(msg)
|
||||||
}
|
}
|
||||||
hEvent_hook = 0;
|
hEvent_hook = 0;
|
||||||
|
|
||||||
test_edit_messages();
|
|
||||||
test_quit_message();
|
test_quit_message();
|
||||||
test_notify_message();
|
test_notify_message();
|
||||||
test_SetActiveWindow();
|
test_SetActiveWindow();
|
||||||
|
|
Loading…
Reference in New Issue