Commit Graph

2206 Commits

Author SHA1 Message Date
Dmitry Timoshkov 12111d8c3b user32/tests: Add some tests for WM_MDIGETACTIVE.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:05:16 +09:00
Dmitry Timoshkov 2e8166ec0e user32/tests: Move MDI tests out of the WM_CREATE handler.
This helps to avoid side effects of the not yet finished window creation
process.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:05:06 +09:00
Nikolay Sivov 8b353f5409 user32: Added a GetDisplayConfigBufferSizes stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 16:16:54 +09:00
Alex Henrie a3e4c69419 user32: Release capture before sending WM_COMMAND.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:07:56 +09:00
Dmitry Timoshkov 0fe60f83d2 user32: Always call BeginPaint/EndPaint when handling a WM_PAINT message for the button.
Python 3.5 installer creates windows with class "Button" that have 0x000e
button style, that causes infinite painting loops and inability to draw
the installer UI.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Nikolay Sivov 83a652a9d4 include: Add a couple of documented Toolbar messages definitions.
Thanks to Alan Feldman for pointing this out.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 12:20:56 +09:00
Joachim Priesner 0fc1753444 user32: msgbox: Rearrange buttons for correct tab order.
Tab order is the order of the controls in the dialog template, so
arrange them in a way that buttons appear in the correct order for all
possible combination of buttons (specified by the MB_* constants).

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:21 +09:00
Joachim Priesner 217fe9cfad user32: msgbox: Make buttons an own control group.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:21 +09:00
Jactry Zeng b007a98e1a user32: Add driver entry point for FlashWindowEx.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:26 +09:00
Jactry Zeng f22760d210 user32: Implement semi-stub for FlashWindowEx.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Jactry Zeng d2d114190c user32/tests: Add tests for FlashWindow.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Sebastian Lackner 240cf96235 user32: Use RtlIsCriticalSectionLockedByThread to check lock owner.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:47:42 +09:00
Joachim Priesner 175e714656 user32: Hide horizontal Listbox scroll bar if no horizontal extent is set.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
2015-10-07 21:28:55 +09:00
Michael Müller 2be56fdc95 user32: Ignore lParam argument of WM_SIZE message for edit control.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-06 22:18:49 +09:00
Sebastian Lackner e4a3cd60df user32/tests: Add a test for sending WM_SIZE message to edit control.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-06 22:18:30 +09:00
Alex Henrie 7bbcc766ef user32: Pass num_steps=0 to alloc_icon_handle if is_ani=FALSE.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:57 +09:00
Alex Henrie 9c750bb956 user32: Remove unused parameter mask from create_alpha_bitmap.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:46 +09:00
Alex Henrie be5015fb74 user32: Remove unused parameter istep from release_icon_frame.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:35 +09:00
Alex Henrie d687512674 user32: Move misplaced break statement.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:23 +09:00
Alex Henrie 64e63f4550 user32: Remove always-false condition.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:16:37 +09:00
André Hentschel 83bfda7caf user32/tests: Allow tracing in menu tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-02 18:11:31 +09:00
Alex Henrie a66f4e521c user32: Remove unused variable ani_icon_data from release_icon_frame.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-02 18:11:30 +09:00
Alex Henrie 50403fec1e user32: Replace release_icon_ptr with release_user_handle_ptr.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-02 18:11:30 +09:00
Thomas Faber 8a718259d3 user32: Use float literals for float operation. 2015-09-07 17:55:05 +09:00
Nikolay Sivov 873e12c87b user32/tests: Fix a test failure on Win8/Win10. 2015-08-24 14:42:13 +09:00
André Hentschel 3c9b8d7028 user32/tests: Add ARM and ARM64 arch strings. 2015-08-12 22:52:28 +09:00
Mark Harmstone 27bffea148 user32: Specify size for default window icon in NC_IconForWindow. 2015-08-03 11:00:40 +02:00
Piotr Caban 888ffb1134 user32: Test GetIconInfo on other process cursor. 2015-07-30 23:48:39 +02:00
Hans Leidekker 1a78666654 user32: Add a stub implementation of IsWindowRedirectedForPrint. 2015-07-29 21:44:02 +02:00
Nikolay Sivov 516b21f4ee user32: Don't send WM_GETTEXT from GetWindowText() with invalid buffer length. 2015-07-28 09:52:16 +02:00
Nikolay Sivov ee72b0fdc7 user32: Initialize buffer before sending WM_GETTEXT. 2015-07-28 09:52:13 +02:00
Alex Henrie 541a6e1e5e user32/tests: Correct spelling of "Invisible". 2015-07-20 11:50:36 +02:00
Hans Leidekker 80cee36b6a user32: Return a fake handle from RegisterPowerSettingNotification. 2015-07-17 20:17:40 +09:00
Hans Leidekker 4ad09a150e user32: Add a stub implementation of UnregisterPowerSettingNotification. 2015-07-17 20:17:36 +09:00
Dmitry Timoshkov 268cdbbfb6 user32: SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should return real font names. 2015-07-17 19:29:20 +09:00
Dmitry Timoshkov b68593ef5c user32: Add a test to show that fonts returned by SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should be listed by EnumFontFamilies(hdc, NULL). 2015-07-17 19:28:18 +09:00
Alex Henrie 5caa651732 user32: Scroll listbox item completely into view on LB_SETCURSEL. 2015-07-17 16:34:03 +09:00
Alex Henrie f612553694 user32: Simplify if-else statement. 2015-07-17 16:33:50 +09:00
Sebastian Lackner 8723d3455e server: Add fallback to desktop keystate in get_key_state wineserver call. 2015-07-10 15:07:45 +09:00
Sebastian Lackner 6019da2355 user32/tests: Add tests for calling GetKeyState from thread without message queue. 2015-07-10 15:05:40 +09:00
Dmitry Timoshkov 55a78fd19b user32/tests: Add some tests to show that WS_CLIPCHILDREN doesn't exclude children from update region. 2015-07-01 22:56:39 +09:00
Nikolay Sivov 48246a149e user32: Added stubs for ShutdownBlockReasonCreate/ShutdownBlockReasonDestroy. 2015-06-29 18:51:02 +09:00
Jacek Caban 4bcb4881ae user32: Limit number of hooks called recursively. 2015-06-29 18:51:01 +09:00
Alex Henrie c68843f898 user32: Send BM_SETCHECK before WM_CAPTURECHANGED and add tests. 2015-06-23 17:08:23 +09:00
Huw Davies 1342254422 user32/tests: Try to fix the test failures on Win 2k. 2015-06-16 23:56:45 +09:00
Huw Davies 683ffd7ff1 user32/tests: Add some optional messages for Win XP. 2015-06-16 16:47:48 +09:00
Huw Davies 30c529c9f7 user32/tests: Use the correct codepage for WM_CHAR tests. 2015-06-12 21:22:43 +09:00
Alexandre Julliard cce57e9e3e user32/tests: Add tests for SetClipboardData from a different thread. 2015-06-10 19:01:07 +09:00
Alexandre Julliard 3d7aa246d5 server: Add a request to empty the clipboard. 2015-06-09 22:09:56 +09:00
Alexandre Julliard 26bae6d613 user32/tests: Add tests for calling EmptyClipboard from a different thread. 2015-06-09 22:09:56 +09:00