Hugh McMaster
ad1d215774
user32/tests: Add tests for EM_SETSEL and getting/losing focus in combo boxes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:30 +01:00
Hugh McMaster
75d95f6886
user32/tests: Add message tests for EM_SETSEL when getting/losing focus in combo boxes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 15:51:58 +01:00
Qian Hong
43197e6641
user32: Properly handle WM_DEVICECHANGE in is_pointer_message().
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 17:27:52 +01:00
Qian Hong
81bd72640b
user32/tests: Add tests for WM_DEVICECHANGE message.
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:17:41 +01:00
Nikolay Sivov
69ec6f226e
user32/tests: One more activation context test for interthread SendMessage.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:17:35 +01:00
Alexandre Julliard
5095ee32af
user32: Fix WS_EX_DLGMODALFRAME handling in AdjustWindowRect and add more tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:30:56 +09:00
Sebastian Lackner
8c4a785daf
user32/tests: Add test to check ObjectNameInformation for desktop objects.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:33 +09:00
Alexandre Julliard
c92ba78899
user32/tests: Also ignore WM_SYSTIMER messages in input tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 22:16:12 +09:00
Alexandre Julliard
80193a6c68
user32/tests: Maximized windows can be full-screen in recent Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 21:38:30 +09:00
Hugh McMaster
c87a78bc94
user32/tests: Add tests for VK_SPACE, Shift-Space and Ctrl-Space.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 21:10:22 +09:00
Andrey Gusev
8bfc9bd2ee
Assorted typos fixes.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +09:00
Alexandre Julliard
023af7c3cb
user32/tests: Fix a few msg test failures on Windows 7.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:50 +09:00
Alexandre Julliard
5e38c8743d
user32/tests: Fix a few more menu test failures on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:50 +09:00
Nikolay Sivov
119d97e8d7
user32/tests: Some tests for SetScrollInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 13:25:31 +09:00
Bruno Jesus
ecd814cca5
user32: Don't add scroll bars to mdiclient if the window style doesn't allow it.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 19:26:16 +09:00
Dmitry Timoshkov
c482cda1b6
user32/tests: Add some tests for mdiclient scrolling.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 19:26:11 +09:00
Nikolay Sivov
5ab2999fbb
user32/tests: Relax iCaptionWidth test to fix some failures.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 12:25:44 +09:00
Alexandre Julliard
c82626a4c1
user32: Add workaround for removed SC_TASKLIST system menu item.
...
Word 95 assumes that the item exists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Alexandre Julliard
8693805431
user32/tests: Fix a test that assumes that a menu handle is invalid.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:14 +09:00
Dmitry Timoshkov
c0de7f8641
user32: Menu item with a "magic" bitmap should not have MFT_BITMAP type set.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:15 +09:00
Dmitry Timoshkov
5ef96fd5bc
user32/tests: Add more tests for mixed menu with strings and bitmaps.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:13 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Andrew Eikum
c465209cc1
user32: Use font default height if GetTextExtentPoint returns empty rectangle.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 21:32:56 +09:00
Nikolay Sivov
f7468386a7
user32/tests: Use separate test window for each scrollbar test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:58 +09:00
Stefan Dösinger
ccf430eb52
user32: Silently ignore temporary foreground loss.
...
The basic problem is this: Thread A has a window W1 that is it's focus
window and the system-global foreground window. At some point thread A
stops processing messages. After that, thread B creates a window W2
and makes it the foreground window. Thread B later on makes W1 (from
Thread A) the foreground window again. After restoring W1 as the
foreground window, Thread A processes window messages again. Two
WM_WINE_SETACTIVEWINDOW messages are in the queue, one for losing the
foreground thread propery and one for restoring it. The first one will
generates a WM_ACTIVATEAPP(0) message, which causes D3D to minimize
the game window.
The included test shows that Windows doesn't deliver any
WM_ACTIVATEAPP messages if the thread stopped being the foreground
thread and re-gained that property between two message processing
calls. It isn't implemented with a plain WM_ACTIVATEAPP filter, the
manually injected message in the test still gets through.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:53 +09:00
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
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
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
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
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
Piotr Caban
888ffb1134
user32: Test GetIconInfo on other process cursor.
2015-07-30 23:48:39 +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
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
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
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