Huw Davies
bfcf92f148
user32/tests: Fix a few failures in DPI scaling mode.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 16:00:37 +02:00
Huw Davies
0ce293a0d8
user32/tests: Correctly restore the caption sizes when run in DPI scaling mode.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 16:00:35 +02:00
Huw Davies
962d5e6469
user32: Don't bother drawing an item if it's outside the items_rect.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 14:03:50 +02:00
Huw Davies
21c5545a97
user32: Simplify the use of rectangles.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 14:03:44 +02:00
Huw Davies
66d3c80de0
user32: Pass a POPUPMENU ptr to MENU_DrawMenuItem().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 14:03:32 +02:00
Huw Davies
e42bcbdea3
user32: Remove the height parameter from MENU_DrawMenuItem().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 14:03:23 +02:00
Huw Davies
3c0ddd5971
user32: Limit the menu height to that of the work area.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:33 +02:00
Huw Davies
1d4992282d
user32: Disable scrolling for multi-column menus.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:33 +02:00
Huw Davies
d4544f7fed
user32: Don't finish tracking when the menu borders or scroll arrows are clicked.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:33 +02:00
Huw Davies
6abb7db763
user32: Scale the scroll arrows with the menu's font size.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:15 +02:00
Huw Davies
bd785a5ac0
user32: Don't fill the background when drawing the scroll arrows.
...
This is done, in the correct colour, in MENU_DrawPopupMenu().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:15 +02:00
Huw Davies
79bdeceab4
user32: Clip painting to the items_rect.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:15 +02:00
Huw Davies
1bdd12f493
user32: Store the item rects as relative to the items_rect.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Zebediah Figura
0ac74d180a
user32: Always send WM_CANCELMODE when disabling a window.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:20:54 +02:00
Zebediah Figura
b4fea4f2f0
user32: Don't call ReleaseCapture() in EnableWindow().
...
Killing the capture is already handled in DefWindowProc().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:11:55 +02:00
Zebediah Figura
3d133becce
user32/tests: Add tests for EnableWindow().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:09:46 +02:00
Huw Davies
bdcaae4b78
user32: Add an items rect to the header and use it to fix scrolling down.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:13:14 +02:00
Huw Davies
d4d0247f4e
user32: Simplify GetMenuItemRect().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:12:45 +02:00
Huw Davies
c72a7219fd
user32: Add a helper to retrieve the height of the scroll arrows.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:12:16 +02:00
Huw Davies
a8344b9616
user32: Rationalize the popup menu margin calculation.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:11:33 +02:00
Huw Davies
0a36078ee1
user32: Explicitly set last error to ERROR_SUCCESS.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-27 16:54:53 +02:00
Piotr Caban
a878f0a02a
user32: Don't call IsChild with NULL window in EnableWindow.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Alexandre Julliard
413e27eff1
user32/tests: Re-enable a test about window positions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:34:51 +01:00
André Hentschel
b05c000c91
user32: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 10:16:24 +01:00
Alex Henrie
0a2f9f54eb
user32: Include space for ampersands when determining MessageBox size.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 09:44:31 +01:00
Alex Henrie
2799be1804
user32: Translate WM_(NC)XBUTTONUP to WM_APPCOMMAND in DefWindowProc.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:14:15 +01:00
Fabian Maurer
d594ba3322
user32: Only send position-change messages when needed.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:43:15 +01:00
Fabian Maurer
997d4ef44f
user32: Send WM_NCPAINT and WM_ERASEBKGND when window is shown.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:42:37 +01:00
Francois Gouget
a3f36a045f
user32/tests: Occasional spelling fixes in comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:32:09 +01:00
Rodrigo Rivas Costa
fbd9ed0dee
user32: Fix error handling in EndDeferWindowPos.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:53:53 +01:00
Sebastian Lackner
6f62f9614d
user32/tests: Add test for EndDeferWindowPos with destroyed window.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 13:54:00 +01:00
Fabian Maurer
43b0dce203
user32/tests: Add tests for disabled buttons receiving WM_LBUTTONUP.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 21:39:28 +01:00
Fabian Maurer
eba9294d9e
user32/tests: Add WM_NCPAINT tests for windows crossing screen or maximized.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:27 +01:00
Fabian Maurer
372e3e223a
user32/tests: Add tests for windows when first shown if they have children.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:27 +01:00
Fabian Maurer
ea6dbfcd07
user32/tests: Add tests for windows when first shown with SetWindowPos.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:27 +01:00
Fabian Maurer
46b344fc2f
user32/tests: Add tests for windows when first shown with WS_VISIBLE or RedrawWindow.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:26 +01:00
Jacek Caban
af4294a9af
user32: Allow creating windows using null driver for invisible winstations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 16:07:41 +01:00
Dmitry Timoshkov
d639d3bba0
user32: Fix groupbox rectangle calculation in the button's WM_SETTEXT handler.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 17:24:36 +01:00
Dmitry Timoshkov
e45b80088b
user32: BUTTON_CalcLabelRect should use the button font.
...
Otherwise WM_SETTEXT handler gets wrong rectangle to erase an old text.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 17:24:33 +01:00
Nikolay Sivov
a423f14a56
user32/tests: Test to show that original font is not selected back after painting buttons.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 17:24:31 +01:00
Huw Davies
01112061c2
user32/tests: Restore the mouse cursor to its original position.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 14:45:58 +01:00
Fabian Maurer
115bbf424c
user32: Don't send WM_CHAR when a menu gets VK_ESCAPE and add tests.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-03 19:05:09 +01:00
Huw Davies
cdf3872f59
user32/tests: Restore the mouse cursor to its original position.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:34 +01:00
Huw Davies
e883d0ec60
user32: Hardcode the GetWindowLong values for the desktop window to avoid a server round-trip.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:34 +01:00
Anton Romanov
cb4545eccd
user32: Add OCR_RDR* cursors.
...
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 11:01:40 +01:00
André Hentschel
76793a8e4b
user32: Fix DrawMenuBarTemp spec file entry.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:42 +01:00
Huw Davies
a60144ee74
user32: Disable cached DCs once they are released.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:46:22 +01:00
Huw Davies
e641e6e49b
user32/tests: Windows 10 no longer supports setting bpp to zero.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-18 10:51:21 +01:00
Nikolay Sivov
904c695de8
user32/tests: Some tests for GetWindowText() when non terminated string is returned.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-11 16:04:07 +01:00
Francois Gouget
0ab75f2e5a
user32/tests: A spelling fix in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:32 +01:00
Nikolay Sivov
d437d61c57
user32/tests: Added some tests for FindWindow().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-02 11:24:22 +01:00
Hans Leidekker
ef743e41ee
user32/tests: Disable automatic shell restart during SetShellWindow tests.
...
This test kills the desktop shell process so it can set a different shell window.
Modern Windows will automatically restart the desktop shell when it dies, and if
that happens soon enough it will interfere with the remaining tests.
Disabling automatic restart requires admin rights.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:49 +01:00
Huw Davies
78983d9fcd
user32/tests: Add a test to show that released cache DCs are disabled.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:03 +01:00
Lauri Kenttä
26be29138f
user32/tests: Add tests for LockWindowUpdate.
...
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 11:43:50 +01:00
Alex Henrie
68ca28a8bc
user32: Tell MENU_SuspendPopup which message to remove.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:45:54 +01:00
Lauri Kenttä
1d3b9448f6
user32: Fix caret disappearing after scrolling.
...
The caret needs to be moved along with scrolling even if it's
outside the visible area. Otherwise, when the caret is scrolled
out from the view, the position won't get updated anymore and
the caret will never scroll back again.
The idea is based on the patch by André Hentschel.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 21:10:12 +01:00
Andrew Eikum
d1064669f4
user32: Support IDC_PEN.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 13:06:05 +01:00
Huw Davies
fab7a584c1
user32/tests: FlashWindow(Ex) sets ERROR_INVALID_WINDOW_HANDLE on updated Windows 7.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-30 16:28:06 +01:00
Huw Davies
400e0af66c
user32/tests: Mark built-in wndproc auto-detection behaviour as broken on Windows 8 and 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-24 14:31:32 +01:00
Erich E. Hoover
f9b878101e
user32/tests: Fix an inconsistent test case in clearing the clipboard.
...
Depending on our clipboard polling we can get an additional clipboard
update during the clipboard clear test. This change forces a consistent
state when starting the test, which stops the additional window message
from possibly occurring.
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 13:53:29 -06:00
Huw Davies
e574350b62
user32/tests: Don't perform character lookup ToUnicode() tests on non-US keyboards.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Andrey Gusev
535f1de80d
user32: Add support for WS_EX_RIGHT style.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-20 07:32:12 -07:00
Roman Pišl
9de8ea7564
user32: Fix buffer overflow in EDIT_EM_ReplaceSel().
...
After EN_MAXTEXT notification, available space may be larger than
length of the string. This must be checked and strl must not be
set to a value larger than the actual length of the string.
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 09:50:12 -07:00
Sebastian Lackner
cf0f7fcfd5
user32/tests: Fix test failures on 64-bit testbot VMs.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 18:38:13 +02:00
Sebastian Lackner
df3c2a4a41
user32: Also release GMEM_FIXED data in free_cached_data.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-01 15:14:10 +02:00
Alexandre Julliard
ab44b31287
user32: Fix METAFILEPICT marshalling for 64-bit.
...
Spotted by Sebastian Lackner.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 11:34:19 +09:00
Sebastian Lackner
0a1da6bce9
user32: Call GlobalUnlock with the correct argument in SetClipboardData.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 11:26:09 +09:00
Andrey Gusev
f669dc69cd
user32/tests: Fix incorrect usage of broken() function.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 00:56:02 +09:00
Michael Stefaniuc
3589cd921d
user32/tests: Use wine_dbgstr_rect() to print rects.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:26 +09:00
Michael Stefaniuc
40fdd83489
user32/tests: Use EqualRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:26 +09:00
Michael Stefaniuc
e974731117
user32/tests: Remove two commented out printf().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:26 +09:00
Alexandre Julliard
8f24641ff3
user32: Enforce null termination of strings added to the clipboard.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:24 +09:00
Alexandre Julliard
b39a0f008b
user32: Remove no longer used clipboard driver entry points.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:54:05 +09:00
Alexandre Julliard
f0fbf1a9d1
user32: Cache clipboard data on the client side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:12:21 +09:00
Alexandre Julliard
9ed8f5e83f
user32: Add synthesized clipboard formats on the server side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:06:10 +09:00
Alexandre Julliard
3044935b0e
user32: Retrieve clipboard data from the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:48:32 +09:00
Alexandre Julliard
c69b4995c5
user32: Retrieve available clipboard formats from the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:20:41 +09:00
Alexandre Julliard
79f90e4e41
user32: Store clipboard data on the server side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:20:26 +09:00
Alexandre Julliard
11c3867349
user32: Add an UpdateClipboard entry point to allow the driver to refresh the clipboard before it's open.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 20:30:15 +09:00
Huw Davies
b7c5ff05a7
user32: Implement OemKeyScan().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-22 22:29:57 +09:00
Huw Davies
ddc1658501
user32: Use MB_USEGLYPHCHARS in OemToCharBuffW().
...
OemToCharBuffA() is more complicated and looks like it will require a
custom table, so that is left as is.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-22 22:29:54 +09:00
Huw Davies
b981d18a55
user32/tests: BITMAPCOREINFO icons are no longer supported on Win 8.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-19 23:14:14 +09:00
Huw Davies
512c8f9444
user32/tests: Add space for the mask data to prevent failures on Win 8 and 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 23:25:02 +09:00
Alexandre Julliard
fe04dd2a4b
user32: Use GetDIBits to retrieve the bitmap header when synthesizing a DIB.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-15 21:02:34 +09:00
Alexandre Julliard
08aa64e38e
user32/tests: Add some tests for the contents of the clipboard data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-15 21:02:34 +09:00
Piotr Caban
80a222a8cd
user32: Fix DefWindowProc(WM_NCRBUTTONDOWN) tests on Win 8 and 10.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:25:52 +09:00
Alexandre Julliard
305d89f1ed
server: Return the owner window in the close_clipboard request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:08 +09:00
Alexandre Julliard
2bf890d95f
server: Return the owner window in the release_clipboard request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:07 +09:00
Alexandre Julliard
c1f62c8985
user32: Clean up clipboard debug traces.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:07 +09:00
Alexandre Julliard
4bdcf512cf
user32: Fix GetClipboardFormatName behavior for integer formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:07 +09:00
Alexandre Julliard
30179166d2
user32/tests: Comment out a test that crashes on 64-bit Vista.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 14:19:33 +09:00
Sebastian Lackner
acdf001261
user32: Fix definition of DeregisterShellHookWindow.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:50:58 +09:00
Alexandre Julliard
0b95237677
user32/tests: Add more tests for clipboard data storage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 22:41:02 +09:00
Alexandre Julliard
ed97fa1cb2
user32/tests: Add more tests for GDI and private clipboard formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 22:49:27 +09:00
Alexandre Julliard
3bab02d02a
user32/tests: Make the clipboard sequence tests more strict.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 22:48:58 +09:00
Alexandre Julliard
ef08bd7675
user32: Clear last error in EnumClipboardFormats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 22:48:32 +09:00
Sebastian Lackner
4e63a5bf8f
user32: Add missing call to GlobalUnlock in render_synthesized_enhmetafile.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 10:08:55 +09:00
Sebastian Lackner
5eb8217f6d
user32: Add missing calls to GlobalUnlock in render_synthesized_dib.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 10:08:45 +09:00
Sebastian Lackner
a78fd8a07e
user32: Only call GlobalUnlock when GlobalLock was successful.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 10:08:00 +09:00
Alexandre Julliard
9a652e211c
user32: Synthesize bitmap clipboard formats on the user32 side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 11:36:24 +09:00