Dmitry Timoshkov
ecd1c66476
user32: Add exception handler to GetWindowText.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-22 22:20:51 +01:00
Ziqing Hui
77f1658393
server: Also queue hotkey message for WM_SYSKEYDOWN.
...
ALT and F10 key generate WM_SYSKEYDOWN message.
They should also have the ability to queue hotkey message.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Ziqing Hui
556490d35b
user32/tests: Add ALT+letter hotkey tests.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Dmitry Timoshkov
ababea0fd7
user32: DragDetect() should enter its message loop only if the left mouse button is pressed.
...
There's an application that calls DragDetect() on every WM_MOUSEMOVE
message, and this breaks handling of mouse events. A simple test app
shows that on Windows DragDetect() starts its message loop when left
mouse button is pressed.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:47 +02:00
Alexandre Julliard
7637e49c44
user32: Return INT_PTR instead of LRESULT in dialog procedures.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Piotr Caban
fd60414fce
user32: Fix window style while CBT_CREATEWND hook is called.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:12 +02:00
Piotr Caban
1b6f8a1adb
user32: Fix style passed to HCBT_CREATEWND hook.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:12 +02:00
Piotr Caban
08f60ee991
user32/tests: Test window style in HCBT_CREATEWND hook.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:12 +02:00
Piotr Caban
a9eee150ad
user32: Update exstyle when setting style in SetWindowLong.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:12 +02:00
Piotr Caban
08303d9bbf
user32/tests: Don't use the same condition in ok and todo_wine_if.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Piotr Caban
ce3efca24a
user32/tests: Test style returned by GetWindowLong in WM_CREATE.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Piotr Caban
0483e2b4af
user32/tests: Print context in window style tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Connor McAdams
1b78c229f5
user32/tests: Fix dump_sequence winevent_hook_todo handling.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:12 +02:00
Connor McAdams
4deaed0fd4
user32/tests: Add missing winevents to test_DoubleSetCapture() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams
16444944a2
user32/tests: Add missing winevents to test_TrackPopupMenuEmpty() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams
0bf1b6f5c6
user32/tests: Add missing winevents to test_TrackPopupMenu() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams
e2b130e44f
user32/tests: Add missing winevents to test_layered_window() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams
5d48747eca
user32/tests: Store thread ID of thread we're watching for winevents.
...
Since we're watching a specific thread ID for winevents, check that the
thread ID passed in the winevent callback function matches the thread
we're watching, instead of the thread currently executing.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams
e44e7673b9
user32/tests: Add message to fix occasional failure in test_dialog_messages().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams
51bf6cc0fd
user32/tests: Add missing winevents to test_defwinproc() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams
86198569f6
user32/tests: Fix existing winevents in test_defwinproc() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams
21e3bb1bfb
user32/tests: Add missing winevents to test_menu_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams
e65813a5ba
user32/tests: Add missing winevents to test_EndDialog() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:32 +02:00
Connor McAdams
f7c94fa363
user32/tests: Add missing winevents to test_dialog_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:28 +02:00
Connor McAdams
72d2bf3cf3
user32/tests: Fix existing winevents in test_dialog_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:23 +02:00
Connor McAdams
327fb19184
user32/tests: Add missing winevents to test_SetWindowRgn() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:16 +02:00
Connor McAdams
38729cbdff
user32/tests: Fix existing winevents in test_SetWindowRgn() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:08 +02:00
Connor McAdams
f4fdb721bf
user32/tests: Add missing winevents to test_restore_messages() message sequence.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:31 +02:00
Connor McAdams
9196caea07
user32/tests: Add missing winevents to test_SetActiveWindow() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:29 +02:00
Connor McAdams
37b2e37edf
user32/tests: Add missing winevents to test_quit_message() message sequence.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:25 +02:00
Connor McAdams
1e43edd800
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>
2021-09-23 10:30:16 +02:00
Connor McAdams
8502b6817f
user32/tests: Fix existing winevents in test_edit_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:12 +02:00
Connor McAdams
a622753186
user32/tests: Fix existing winevents in test_DestroyWindow() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:26 +02:00
Connor McAdams
18d2df2bdf
user32/tests: Add missing winevents to test_accelerators() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:23 +02:00
Connor McAdams
7c87284290
user32/tests: Fix existing winevents in test_accelerators() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:51 +02:00
Connor McAdams
e4bc8227ff
user32/tests: Fix test_paint_messages() message sequences to support WinEvents.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:46 +02:00
Connor McAdams
39af41a125
user32/tests: Fix test_listbox_messages() message sequences to support WinEvents.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:41 +02:00
Connor McAdams
6049cc8613
user32/tests: Fix existing winevents in test_autoradio message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:54 +02:00
Connor McAdams
7375831da3
user32/tests: Fix missing messages in test_button_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:50 +02:00
Connor McAdams
26d25b4f9e
user32/tests: Add missing winevents to test_button_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:44 +02:00
Connor McAdams
3a2cf89e42
user32/tests: Fix existing winevents in test_button_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:38 +02:00
Connor McAdams
7f6d723e50
user32/tests: Fix missing messages in test_mdi_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams
78d6c8aa71
user32/tests: Add missing winevents to test_mdi_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams
2f6efe8ec3
user32/tests: Fix existing winevents in test_mdi_messages() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams
02ce19e459
user32/tests: Fix occasional failure in WmShowNoActivate_2 message sequence.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams
f16ee0b1ba
user32/tests: Fix existing winevents in invisible_parent_tests() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:37 +02:00
Connor McAdams
a46ae113ae
user32/tests: Add missing winevents to test_showwindow() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:32 +02:00
Connor McAdams
804210fc77
user32/tests: Fix existing winevents in test_showwindow() message sequences.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:25 +02:00
Connor McAdams
ca37d6ea6b
user32/tests: Fix occasional test failure in test_ShowWindow().
...
Windows 8+ sometimes sends an optional WM_WINDOWPOSCHANGED after an optional
WM_WINDOWPOSCHANGING.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:15 +02:00
Zhiyi Zhang
c58d9cf744
user32/tests: Fix some test failures on the w7u_2qxl TestBot.
...
The first adapter reported by EnumDisplayDevices() is not guaranteed to be primary.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00