Fabian Maurer
400dd1596a
user32: LoadImage should not only search in the working directory.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46186
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 20:39:03 +01:00
Gabriel Ivăncescu
40e16ac150
user32/tests: Also include LBS_NODATA cases when testing ownerdraw.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 12:12:32 +01:00
Ralf Habacker
081a48ebab
server: Release atoms when destroying a window class.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46180
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Dmitry Timoshkov
44f89322ba
user32: If there is no dialog controls to set focus to then set focus to dialog itself.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:36:08 +01:00
Dmitry Timoshkov
87d194dd1d
user32/tests: Add a focus test for an empty dialog that returns TRUE in WM_INITDIALOG.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:36:06 +01:00
Dmitry Timoshkov
b1b8fb77be
user32: Add support for navigating a group of radio buttons using a keyboard.
...
The patch approximates the behaviour observed in the message tests
but still doesn't make the message tests pass without failures.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 09:02:04 +01:00
Dmitry Timoshkov
bf55f167b9
user32/tests: Add a test for navigating a group of buttons using keyboard events.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 09:02:02 +01:00
Dmitry Timoshkov
d57fcb4113
user32/tests: Simplify the test for BM_CLICK on autoradio button by using a dialog.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 09:02:01 +01:00
Dmitry Timoshkov
af88297f4a
user32/tests: Add a message test for group of radio buttons.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:51:48 +01:00
Jacek Caban
9d4ce95de5
user32: Attempt to set scroll info in SetScrollPos even if SCROLL_GetInternalInfo fails.
...
SetScrollPos may be called on non-scroll window and we should send
SBM_SETSCROLLINFO. This fixes scrollbars in Visio.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:07:01 +01:00
Nikolay Sivov
b5f179655c
server: Use base class atom for child window enumeration.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Nikolay Sivov
e8897ebe4e
user32/tests: Add FindWindow() test for versioned class.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Gabriel Ivăncescu
dfb57a1655
user32/listbox: Make LBS_NODATA listboxes error on any attempt to find a value.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
d30aadd3e1
user32/listbox: Don't set any data for LBS_NODATA listboxes.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
cab591c59b
user32/listbox: Return 0 from LB_GETITEMDATA for LBS_NODATA listboxes.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
c980edc227
user32/listbox: Always retrieve zeros in LB_GETTEXT for LBS_NODATA listboxes.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
c920b4dc5a
user32/listbox: Use ULONG_PTR instead of DWORD when retrieving text without HAS_STRINGS.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
0a5c360f39
user32/listbox: Make SetCount fail if LBS_NODATA is not set.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
9b59eb477b
user32/listbox: Clear LBS_OWNERDRAWVARIABLE if LBS_OWNERDRAWFIXED is set.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
24b539dea8
user32/tests: Test incompatible styles for LBS_NODATA.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
2fc9d0afd9
user32/tests: Add some tests for LBS_NODATA.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Gabriel Ivăncescu
686fb70016
user32/tests: Add more Listbox tests for ownerdraw styles.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-16 14:58:41 +01:00
Jacek Caban
8c8701befb
user32: Allow scrollbar control to store scroll info in subclassed window.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46004
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45966
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:31:11 +01:00
Nikolay Sivov
54cd4464c6
user32/tests: Fix Listbox test failures on some configurations.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 17:08:59 +01:00
Alexandre Julliard
542150afe5
user32/tests: Add tests for GetCurrentInputMessageSource().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Jacek Caban
d23be055be
user32/tests: Add scrollbar subclassing tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 19:15:34 +01:00
Dmitry Timoshkov
5277aa8f64
user32: Fix the pointer to custom dialog control data.
...
Suggested by vendor2013@herdsoft.com .
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-01 19:12:23 -07:00
Dmitry Timoshkov
606b027277
user32/tests: Add a test for custom dialog control data.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-01 19:12:22 -07:00
Jacek Caban
b8ef42c9fd
user32: Make sure that passed window handle is scroll control before accessing wExtra in SCROLL_GetInternalInfo.
...
Fixes memory corruption in Office 2016.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 18:33:12 +02:00
Józef Kucia
34700ae938
user32/tests: Add test for desktop window procedure.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 19:46:42 +02:00
André Hentschel
bfad5527ac
user32/tests: Allow newer Win10 behaviour.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 21:09:23 +02:00
Sven Baars
470f7b20d4
user32/tests: Use the correct procedure for dialog tests (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 18:35:40 +02:00
Alexandre Julliard
a525631920
user32: Scale dialog base units based on DPI awareness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 12:06:13 +02:00
Alexandre Julliard
f49227db60
user32/tests: Add tests for window rectangles and DPI scaling.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 11:46:10 +02:00
Alexandre Julliard
98146e1bce
user32/tests: Add tests for desktop size and DPI scaling.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 11:43:27 +02:00
Fabian Maurer
3d0be0bad8
user32/combo: Properly set dropdown height.
...
Now that user32 and comctl32 combo are separated,
this won't lead to a regression anymore.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 09:17:31 +02:00
Nikolay Sivov
201dc289d0
user32/listbox: Update anchor index on LB_SETSEL.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:10 +02:00
Nikolay Sivov
5fced2810f
user32/tests: Add some ListBox tests for anchor index.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:10 +02:00
Alexandre Julliard
898f4b6c6a
user32: Take DPI awareness into account in GetDpiForMonitorInternal().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:56 +02:00
Zhiyi Zhang
bfe6826a16
user32: Return FALSE for invalid handle in IsWindowEnabled().
...
GetWindowLong() returns 0 if passed an invalid window handle,
causing IsWindowEnabled() to incorrectly report TRUE.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:56 +02:00
Zhiyi Zhang
0b69359a24
user32/tests: Sleep when sending mouse clicks too fast.
...
A thread is used to send test data. If the thread sends mouse clicks
before pop-up menu initialization, it would report send input failure
and skip the tests.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:55 +02:00
Zhiyi Zhang
a205401b38
user32: Fix menu item rectangle calculation in GetMenuItemRect().
...
This fixes the menu of BibleWorks 10 not showing up and some todo in
tests.
Sysmenu is in non-client area. And because MapWindowPoints() should
not be used with non-client area coordinates. Doing so results in
wrong coordinates for sysmenu item rectangles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:55 +02:00
Zhiyi Zhang
608aa7f3d7
user32: Send notification for the focused button in IsDialogMessage().
...
When handling WM_KEYDOWN,VK_RETURN messages from a dialog hwnd in
IsDialogMessage(), if the focused button is in the dialog, send a BN_CLICKED
notification to the dialog proc. This also make it possible for the
default button with an id larger than 0xFFFF in the dialog to receive
the correct BN_CLICKED notification, which has a null lParam before this.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Zhiyi Zhang
8318b11d7f
user32/tests: Fix a memory leak.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Alexandre Julliard
b73a50a35e
user32: Update RedrawWindow behavior with explicit desktop window handle.
...
Newer Windows versions behave differently.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 20:51:26 +02:00
Alexandre Julliard
9d3adf687b
user32/tests: Remove a duplicate todo test.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 20:51:25 +02:00
Alexandre Julliard
8cfac3b218
server: Don't clip update regions to the desktop window.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Michael Müller
efa6e6b9ef
user32: Add semi-stub for GetAutoRotationState.
...
We cannot check the status value reliable since there is a good
chance that all the possible values will be returned from different
setups.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-03 11:27:35 +02:00
Michael Stefaniuc
1694ab087a
user32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:20 +02:00
Michael Stefaniuc
b03e800fe1
user32/tests: Avoid ARRAY_SIZE-like macros.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:13 +02:00
Dmitry Timoshkov
8b864ae9aa
user32: For an owner-drawn listbox without strings WM_MEASUREITEM still needs correct itemData.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:10:44 +02:00
Dmitry Timoshkov
18420c24c9
user32: Fix order of items passed in WM_COMPAREITEM data.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:10:40 +02:00
Dmitry Timoshkov
35d902e476
user32/tests: Add some message tests for not an owner-drawn listbox.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:10:38 +02:00
Dmitry Timoshkov
e0d3dbcc01
user32/tests: Add a message test for an owner-drawn sorted listbox.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:10:35 +02:00
Dmitry Timoshkov
d92d91473c
user32/tests: Add a test for WM_MEASUREITEM when inserting an item to an owner-drawn listbox.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:10:33 +02:00
Michael Stefaniuc
20b43a9a93
user32/tests: Avoid a variable that holds an ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:03:40 +02:00
Michael Stefaniuc
e186f3ec26
user32/tests: Don't undefine ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:03:36 +02:00
Zebediah Figura
7ae7fbcc91
user32/tests: Skip tests for window messages if we failed to receive foreground status.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:22:36 +02:00
Zebediah Figura
f312758bf0
user32/tests: Ignore all non-keyboard messages in test_Input_blackbox().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:22:35 +02:00
Zhiyi Zhang
5dfacee5cc
user32: Return 1 in DrawTextEx() when calculated offset is 0.
...
The return value 0 in DrawTextEx() indicates failure.
Should the offset from the bottom of the drawn text to top of
the rectangle happens to be 0, return 1 instead. So that it doesn't
indicate failure incidentally.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 16:26:12 +02:00
Michael Stefaniuc
7b5668a6e7
include: Make ARRAY_SIZE() available in wine/test.h.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Alexandre Julliard
f7b5b8975c
user32: Store the window DPI in the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-17 14:10:23 +02:00
Alexandre Julliard
8a70b70f42
user32: Update the window DPI awareness in SetParent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 16:27:57 +02:00
Alexandre Julliard
433788736b
user32: Store the window DPI awareness in the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 16:27:36 +02:00
Nikolay Sivov
c4fd1099dd
user32: Avoid touching last error on successful path of GetClassInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 10:51:31 +02:00
Alexandre Julliard
e95d0c6849
user32: Take into account the offset between old and new parent in SetParent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:00:17 +02:00
Alexandre Julliard
39f0bbff4e
user32: Set the thread DPI awareness to the window's when calling a window procedure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 17:33:19 +02:00
Alexandre Julliard
487599e77f
user32/tests: Reorganize the DPI tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 17:32:29 +02:00
Alexandre Julliard
fbe81f8a9e
user32/tests: Avoid calling a potentially missing function.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 14:17:45 +02:00
Francois Gouget
a66af35ab9
user32/tests: Add a trailing '\n' to an ok() call.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-30 20:41:59 +02:00
Alex Henrie
816b22a650
user32/tests: Drop nonsensical broadcast tests that fail on Windows 10.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-30 10:41:44 +02:00
Alexandre Julliard
08b19c6f67
user32: Don't wait for other threads to process WM_NCDESTROY.
...
Based on a patch by Andrew Eikum.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-27 16:24:43 +02:00
Alexandre Julliard
7fdf90e395
user32: Implement LogicalToPhysicalPointForPerMonitorDPI() and PhysicalToLogicalPointForPerMonitorDPI().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Alexandre Julliard
300217e38b
user32: Implement AdjustWindowRectExForDpi().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 17:03:13 +02:00
Alexandre Julliard
77013e9796
user32: Reimplement AdjustWindowRectEx using NONCLIENTMETRICSW.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 17:03:13 +02:00
Alexandre Julliard
3458af7db0
user32: Implement GetSystemMetricsForDpi().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 14:34:26 +02:00
Alexandre Julliard
a02ed14732
user32: Implement SystemParametersInfoForDpi().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 14:34:25 +02:00
Alexandre Julliard
d4d12801bc
user32: Included padded border into the border width in NONCLIENTMETRICS.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 14:15:40 +02:00
Alexandre Julliard
6b42665b95
user32/tests: Remove Win9x workarounds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 08:54:43 +02:00
Alexandre Julliard
132c00fc9f
user32/tests: Cleanup helper macros.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 08:39:20 +02:00
Alexandre Julliard
60085f4e36
gdi32: Scale stock fonts based on the DPI awareness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-12 13:50:01 +02:00
Alexandre Julliard
31967ef51d
gdi32: Take DPI awareness into account for the LOGPIXELSX/Y device caps.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-12 13:26:31 +02:00
Alexandre Julliard
9d5e33b741
user32/tests: Add tests for GetDpiForSystem().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Alexandre Julliard
da2551f874
user32: Support returning to the process default in SetThreadDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Alexandre Julliard
165f552c34
user32: Add more allowed values in GetAwarenessFromDpiAwarenessContext() and IsValidDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Alexandre Julliard
9fa96f5433
user32: Implement Get/SetProcessDpiAwarenessInternal().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:04 +02:00
Nikolay Sivov
349d9fbdd7
user32/tests: Remove the rest of skips in menu tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:02:44 +02:00
Nikolay Sivov
508e7a88f5
user32/tests: Remove menu tests workarounds.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:02:38 +02:00
Alexandre Julliard
3cad302cc0
user32/tests: Use the function pointer for GetWindowDpiAwarenessContext.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-04 11:41:31 +02:00
Alexandre Julliard
3f97ba3f46
user32: Partially implement GetWindowDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard
478814ed95
user32: Implement Get/SetThreadDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard
bd0cd09e69
user32: Implement SetProcessDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:37:55 +02:00
Zhiyi Zhang
7699d8e47a
user32/tests: Add BM_SETIMAGE style check tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:26 +02:00
Alex Henrie
096deddb2e
user32/tests: Drop broadcast test workaround for Windows NT4.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 12:08:14 +01:00
Michael Müller
76f135e599
user32: Add stubs for GetWindowDisplayAffinity and SetWindowDisplayAffinity.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:44 -06:00
Nikolay Sivov
b7a08c9281
user32/button: Do not select old font back after painting.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:56 +01:00
Piotr Caban
43df3f468f
user32/tests: Add listbox WM_MEASUREITEM tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 09:58:00 +01:00
Nikolay Sivov
d0b1e43c71
user32/tests: Remove commented out traces, use test calls instead of traces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:37 +01:00
Alexandre Julliard
f80802edd7
user32/tests: Also test device caps on a released DC.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Alex Henrie
e1c2a87061
user32/tests: Drop broadcast test workarounds for Windows <= 2000.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 09:25:13 +01:00