1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

user32/tests: Accept EM_GETPASSWORDCHAR when edit is focused.

This commit is contained in:
Esme Povirk 2024-02-03 18:56:24 +00:00 committed by Alexandre Julliard
parent 7ab46f03b1
commit afacbe53ba

View file

@ -7832,6 +7832,7 @@ static const struct message SetFocusComboBoxSeq[] =
{ WM_CTLCOLORBTN, sent|parent },
{ WM_SETFOCUS, sent },
{ WM_KILLFOCUS, sent|defwinproc },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ WM_SETFOCUS, sent },
{ WM_COMMAND, sent|defwinproc|wparam, MAKEWPARAM(1001, EN_SETFOCUS) },
{ EM_SETSEL, sent|defwinproc|wparam|lparam, 0, INT_MAX },
@ -13129,6 +13130,7 @@ static const struct message sl_edit_setfocus[] =
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|wparam|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|wparam, 0 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 10 },
@ -13147,6 +13149,7 @@ static const struct message sl_edit_invisible[] =
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|optional, OBJID_CLIENT, 0 }, /* Sent for IME. */
{ WM_KILLFOCUS, sent|parent },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent },
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
@ -13159,6 +13162,7 @@ static const struct message ml_edit_setfocus[] =
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|wparam|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|wparam, 0 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 10 },
@ -13193,6 +13197,7 @@ static const struct message sl_edit_lbutton_down[] =
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|wparam|defwinproc, 0 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 10 },
@ -13217,6 +13222,7 @@ static const struct message ml_edit_lbutton_down[] =
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|wparam|defwinproc, 0 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 10 },
@ -15619,6 +15625,7 @@ static const struct message WmDefDlgSetFocus_1[] = {
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|wparam|optional, 1 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|wparam, 0 },
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 10 },
@ -15722,6 +15729,7 @@ static const struct message WmCreateDialogParamSeq_3[] = {
{ WM_ACTIVATEAPP, sent|parent|wparam, 1 },
{ WM_NCACTIVATE, sent|parent },
{ WM_ACTIVATE, sent|parent|wparam, 1 },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ WM_SETFOCUS, sent },
{ WM_COMMAND, sent|parent|wparam, MAKELONG(200, EN_SETFOCUS) },
{ WM_GETDLGCODE, sent|wparam|lparam, 0, 0 },
@ -15760,6 +15768,7 @@ static const struct message WmCreateDialogParamSeq_4[] = {
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|parent },
{ WM_KILLFOCUS, sent|parent },
{ EM_GETPASSWORDCHAR, sent|optional }, /* Sent on some Win10 machines */
{ WM_SETFOCUS, sent },
{ WM_COMMAND, sent|parent|wparam, MAKELONG(200, EN_SETFOCUS) },
{ WM_GETDLGCODE, sent|wparam|lparam, 0, 0 },