Alexandre Julliard
bddab0e7f8
server: Add a release_clipboard request, and notify the owner and viewer on release.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 22:02:04 +09:00
Alexandre Julliard
c6f12bd9cc
server: Notify all listeners when the contents of the clipboard have changed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 16:33:04 +09:00
Alexandre Julliard
7594afeb6c
user32: Fix InSendMessage return value.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 14:38:15 +09:00
Alexandre Julliard
35537b1d45
server: Implement Add/RemoveClipboardFormatListener.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:40 +09:00
Alexandre Julliard
19d16a7cb1
server: Add some validation of clipboard window handles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 21:31:50 +09:00
Akihiro Sagawa
911d269be8
user32: Create and destroy the default IME window implicitly.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:45:32 +09:00
Piotr Caban
1c73fcdbcb
user32: Fix DefWindowProc behavior on WM_NCRBUTTONDOWN message.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:38:31 +09:00
Jacek Caban
f0e7bd248e
user32: Introduced ThreadDetach driver entry point.
...
The problem was diagnosed by Ken Thomases.
Currently drivers use DllMain(DLL_THREAD_DETACH) to release thread data.
The problem is that DLLs (like native urlmon.dll, esp. reproducible in
IE8) may still do user32 calls after driver detaches thread. Loader
ensures that since user32.dll was loaded before dependent DLLs, user32's
DllMain will be called in the right moment. Due to lazy loading of
drivers, we have no control over them. We may use a new entry point to
make sure that we detach user32 and driver at the same time.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-27 13:23:52 +09:00
Alexandre Julliard
7888382e0a
user32: Notify the clipboard viewer on close even if we are not the owner.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 22:09:08 +09:00
Alexandre Julliard
57e2b75c02
user32/tests: Add some tests for inter-process clipboard viewer notifications.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 21:36:32 +09:00
Alexandre Julliard
5962df3a1e
server: Cleanup clipboard information upon window destruction.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 00:16:43 +09:00
Alexandre Julliard
43e38153ee
user32/tests: Add a few more clipboard tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 00:16:43 +09:00
Alexandre Julliard
99d5b75c7d
winex11: Don't disallow replacing unowned formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 18:05:48 +09:00
Alexandre Julliard
d9df977006
user32: Don't disallow delayed rendering even when not the clipboard owner.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 17:57:50 +09:00
Alexandre Julliard
42c221db6c
user32: Don't allow SetClipboardData if the clipboard is not open.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 17:35:18 +09:00
Alexandre Julliard
79d2e0a9be
server: Add a request to return clipboard information.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 16:29:00 +09:00
Huw Davies
9efcbd113d
user32: Scale the button size with screen resolution.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:22 +09:00
Huw Davies
b0ec8a6675
user32: The offset between the button and the text is half the digit width.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:22 +09:00
Huw Davies
94a87819c5
user32: Scale the check mark drawn with DrawFrameControl().
...
Based on a patch by Alexandre Julliard.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:22 +09:00
Huw Davies
e06f3cd12c
user32: Scale the edge thickness of check boxes drawn with DrawFrameControl().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:21 +09:00
Alexandre Julliard
67ee1d3fd8
user32: Get rid of the CLIPBOARDINFO structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:21 +09:00
Alexandre Julliard
98b24dcb50
server: Add a separate request to set the clipboard viewer.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:20 +09:00
Alexandre Julliard
7258793169
server: Add separate requests for opening and closing the clipboard.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 16:20:53 +09:00
Alexandre Julliard
e3a8c3a869
user32/tests: Disable custom GDI clipboard formats tests on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:14:30 +09:00
Alexandre Julliard
60f8b516e2
winex11: Allocate clipboard data as GMEM_FIXED.
...
Based on a patch by Rafał Harabień.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:57:51 +09:00
Alexandre Julliard
a96b017070
user32/tests: Add some tests for GDI clipboard formats.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:51:16 +09:00
Józef Kucia
4277b055de
user32: Prevent resetting WS_MINIMIZE through SetWindowLong.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 11:57:25 +09:00
Józef Kucia
412b8dcafb
user32/tests: Add more tests for setting window styles.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 11:57:11 +09:00
Alexandre Julliard
2e6fc89395
user32/tests: Add some cross-process clipboard tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:36 +09:00
Alexandre Julliard
0a1f9bec6d
user32/tests: Add tests for clipboard global memory handles.
...
The GMEM_FIXED tests are based on a patch by Rafał Harabień.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 17:22:46 +09:00
Nikolay Sivov
17987c589f
user32: Handle invalid dialog handles in IsDialogMessage().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 11:53:41 +09:00
Michael Stefaniuc
d8a970f94a
user32/tests: Remove an identical if/else branch.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:22:57 +09:00
Nikolay Sivov
6c8887b830
user32/tests: Fix indentation warnings on GCC 6.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:51:54 +09:00
Andrew Eikum
c1c3198aa4
user32: Don't always insert menu items during WM_MDISETMENU.
...
MSDN says WM_MDISETMENU shouldn't change the frame menu if it is given
as NULL. Tests bear that out. Some other tests are included to show we
haven't broken behavior on e.g. initially maximized MDI child windows.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:41:29 +09:00
Michael Stefaniuc
c80ba53864
user32/tests: Make use of todo_wine_if().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 16:50:52 -05:00
Michael Stefaniuc
07f9f71278
user32: Use straight assignments instead of CopyRect().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 16:18:05 -05:00
Michael Stefaniuc
e13011f63e
user32: Simplify a RECT copy.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:31 +09:00
Michael Stefaniuc
07ada9a85b
user32: Use SetRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Alexandre Julliard
911e59c133
user32: Store window station objects under the session directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 16:21:24 +09:00
Dmitry Timoshkov
59ba31d1fc
user32: Properly handle invalid parameters in CharToOem[Buff]W and OemToChar[Buff]W.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:12 +09:00
Dmitry Timoshkov
80d655ca75
user32: Properly handle invalid parameters in CharToOem[Buff]A and OemToChar[Buff]A.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:09 +09:00
Michael Stefaniuc
a1f0d09ab3
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-07-06 16:15:52 +09:00
Michael Stefaniuc
488562904f
user32: Use InflateRect() too when stretching the RECT in just one axis.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 17:41:35 +09:00
Michael Stefaniuc
62c3bce847
user32: Use InflateRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 10:58:50 +09:00
Michael Stefaniuc
ce88870982
user32/tests: Avoid using CopyRect().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:16:35 +09:00
Michael Stefaniuc
c03ccff2ba
user32/tests: Finish the move to use wine_dbgstr_rect().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:56 +09:00
Michael Stefaniuc
827cd8f332
user32/tests: Use the stricter !IsRectEmpty() check.
...
The EMPTY macro is much stricter than IsRectEmpty() as it checks for
zero heigth AND width aka rect has the size of a point.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:56 +09:00
Michael Stefaniuc
4730f4fffb
user32/tests: Remove some old broken behavior.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:56 +09:00
Michael Stefaniuc
bca5acb5ca
user32: Use EqualRect() instead of memcmp() to compare RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:55 +09:00
Michael Stefaniuc
41d01871fe
user32/tests: Add some IsRectEmpty() tests.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:23 +09:00
Michael Stefaniuc
7f5adb69cd
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-06-17 00:09:21 +09:00
Michael Stefaniuc
82fa7dea2a
user32/tests: Remove an unused macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:20 +09:00
Michael Stefaniuc
ea50a4f8d8
user32/tests: Use wine_dbgstr_rect() in the win tests.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 19:50:20 +09:00
Alexandre Julliard
fb6304119a
user32: Add helper functions to get and set the window internal flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 19:46:30 +09:00
Alexandre Julliard
2e4f89edf1
user32: Notify explorer when the active window changes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 20:34:03 +09:00
Jacek Caban
bce9e1d2bd
user32: Make SetWindowLongW hotpatchable.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 12:11:44 +09:00
Alexandre Julliard
ac2b288b27
user32: Remove redundant system menu handle checks.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 16:12:46 +09:00
Alexandre Julliard
83ed0a636b
user32: Setup system menu even when used through TrackPopupMenu.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 16:12:26 +09:00
Michael Stefaniuc
9ed915083f
user32: Use InflateRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 18:48:34 +09:00
Michael Stefaniuc
4b26eef83c
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-06-06 18:48:34 +09:00
Andrey Gusev
647ecec46d
user32/tests: Fix a typo in ok() messages.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:31:07 +09:00
Nikolay Sivov
54f41ae3eb
user32/tests: Some tests for EqualRect()/SetRect().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:30:17 +09:00
Nikolay Sivov
59ee884bdf
user32/tests: Fix a leak when creating test icons (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 00:21:49 +09:00
Alexandre Julliard
596c16cc13
user32: Post notification to the desktop window for window creation/activation.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 13:53:15 +09:00
Andrey Gusev
a0c651cd7c
user32: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 00:15:10 +09:00
Alexandre Julliard
5fdcacad0a
user32: Make spacing consistent between DrawCaptionTemp and NC_DrawCaption.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:51 +09:00
Alexandre Julliard
b4bccfee05
user32: Use the monitor rectangle to position icons on the desktop.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 16:56:15 +09:00
Alexandre Julliard
100239d90f
user32: Take the arrange flags into account when positioning icon windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 16:56:15 +09:00
Andrey Gusev
5a0596ed10
user32/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:09:08 +09:00
Alexandre Julliard
d104891433
user32: Only start reusing DCEs after the cache reached its limit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 09:55:18 +09:00
Alexandre Julliard
d341b0c381
user32: Completely free owned DCEs when the corresponding window/class is destroyed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 09:55:03 +09:00
Alexandre Julliard
5f7e4ce642
user32: Fix refcounting of window DCEs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 09:54:01 +09:00
Vincent Povirk
b68e03f9c9
user32: Don't regard the clipboard as changed if we don't own it.
...
I ran into a situation where user32 will call EndClipboardUpdate even though
the clipboard hasn't changed. It went something like this:
* Program A acquires the clipboard and adds some delay-rendered data.
* Program B requests data from the clipboard, causing program A to receive
WM_RENDERFORMAT.
* Program A calls SetClipboardData to fulfill the request, setting
bCBHasChanged to TRUE.
* Program C acquires the clipboard.
* Program A opens the clipboard to enumerate the formats. When it closes the
clipboard, EndClipboardUpdate is called.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:52 +09:00
Vincent Povirk
1383012395
user32: Also change rcUpdate when scrolling by more than the window size.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:51 +09:00
Alexandre Julliard
c007b3cd46
user32: Load the default app icon with LR_SHARED to avoid a leak.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 16:38:49 +09:00
Michael Stefaniuc
5f494bfeb4
include: Use inline functions for common RECT helpers.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 21:02:29 +09:00
Francois Gouget
6fe747bbbc
user32/tests: Fix a spelling error in a scroll comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 15:32:51 +09:00
Michael Stefaniuc
21e3de63de
user32: Use IsRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:52 +09:00
Andrey Gusev
f5531dc347
user32/tests: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:51 +09:00
André Hentschel
2d62300060
user32/tests: Don't test function directly when reporting GetLastError().
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:51 +09:00
Jacek Caban
912d7474c0
user32/tests: Added PrivateExtractIcons test.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:33:49 +09:00
Jacek Caban
03b93eeeff
user32: Use proper types in ICO_GetIconDirectory.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:33:44 +09:00
Jacek Caban
5aaa8e25ad
user32/tests: Moved creating .ico file into a helper function.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:33:14 +09:00
Pierre Schweitzer
bfb7e167cb
user32: Check bounds before dereferencing.
...
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:30:50 +09:00
Andrey Gusev
2454bbd5e4
user32/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 12:26:38 +09:00
Sebastian Lackner
57b7a9937d
user32: Implement SetCoalescableTimer and add basic tests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:30:57 +09:00
Sebastian Lackner
f5b8eb4977
user32/tests: Add additional test for window station name.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Michael Stefaniuc
959b9d1cbb
user32: Use wine_dbgstr_rect() to print a RECT.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-27 12:41:55 +09:00
Dmitry Timoshkov
00b68720bf
user32: Change value of WM_MDICALCCHILDSCROLL to 0x003f.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 22:49:42 +09:00
Alexander Lakhin
bc3f40e21a
user32: Send WM_CTLCOLOR* message only for visible buttons.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 21:52:51 +09:00
Sebastian Lackner
2c180741e1
user32/tests: Add tests for button WM_CTLCOLOR* messages.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 21:52:46 +09:00
Alexander Lakhin
35ab5f4499
user32: Send the correct WM_CTLCOLOR* message in button WM_SETTEXT handler.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 21:52:41 +09:00
Sebastian Lackner
b4ac51effa
user32: Do not block sending/posting WM_NOTIFY messages.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:47 +09:00
Vincent Povirk
3cc6a1acc3
Revert "user32: Set capture earlier on popup menus.".
...
This reverts commit a9bff001a1
.
We can't set capture this early because the popup menu isn't visible
yet. To my knowledge, no applications depend on this, nor did the
next patch in the series. It's only a theoretical issue revealed by
a message test.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:47 +09:00
Michael Stefaniuc
08821df92c
user32: Use wine_dbgstr_rect() to trace a RECT.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:10 +09:00
Michael Stefaniuc
4ee8139487
user32/tests: Use SetRect instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:28:31 +09:00
Andrew Eikum
76f1c254a2
user32: Grammar fix.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:16:54 +09:00
Dmitry Timoshkov
b555f41020
user32/tests: Add some tests for dialog owner disabled state.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 19:27:56 +09:00
Jacek Caban
ae39337e77
user32: Added more tests of handling parent/owner by dialog.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:36:21 +09:00
Jacek Caban
36b64321b2
user32: Use the original owner used to create the dialog for WM_ENTERIDLE messages.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:30 +09:00
Jacek Caban
fc4b906d78
user32: Don't enable owner in DIALOG_DoDialogBox.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:27 +09:00
Jacek Caban
2f8f9d20aa
user32: Use GWLP_HWNDPARENT to find an owner in EndDialog.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:25 +09:00
Jacek Caban
9da0c00a68
user32: Use top level window as dialog parent for modal dialogs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:22 +09:00
Rodrigo Rivas Costa
5e65b65219
user32: Make DeferWindowPos() fail on invalid window handles.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 19:32:12 +09:00
Nikolay Sivov
ad7cb43657
user32: Limit broadcast messages to system and registered ones.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-09 00:12:24 +09:00
Nikolay Sivov
d154c8424d
user32/tests: Message filtering tests for broadcast messages.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-09 00:12:24 +09:00
Dmitry Timoshkov
e37e0f2743
user32: Avoid dereferencing NULL pointer in a trace.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 15:04:07 +09:00
Louis Lenders
5cf42c0c97
user32: Add stub for IsProcessDPIAware.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-01 18:34:16 +09:00
Sebastian Lackner
11f6df13eb
user32: Set %ecx to address of rect in EnumDisplayMonitors callback.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Alexandre Julliard
11fcc61b6d
user32: Use kernel32 functions for character types and case conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 21:05:05 +09:00
Mark Jansen
e1f1a60f87
user32: Correctly determine bit count for BITMAPCOREINFO in is_dib_monochrome.
...
Signed-off-by: Mark Jansen <learn0more@gmail.com>
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:41:00 +09:00
Thomas Faber
6ad5cfbebd
user32: Handle BITMAPCOREINFO when loading icons.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:59 +09:00
Thomas Faber
6e4b649862
user32/tests: Test loading monochrome icons.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:59 +09:00
Ken Thomases
474196c746
user32: Call the EnumDisplayMonitors callback using a wrapper.
...
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 22:49:15 +09:00
Nikolay Sivov
9d91fce444
user32: For EnableScrollBar() always go through EnableWindow() in SB_CTL case.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 21:49:54 +09:00
Vincent Povirk
906db769f1
user32: Skip menu loop for empty popup menus.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 19:44:02 +09:00
Vincent Povirk
a9bff001a1
user32: Set capture earlier on popup menus.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 19:44:02 +09:00
Austin English
2b740588ba
user32: Add QueryDisplayConfig stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 21:32:54 +09:00
Alistair Leslie-Hughes
84d0c4f0da
user32: Don't crash in DrawTextEx when tab length is zero.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 21:28:09 +09:00
Alex Henrie
9a28e35064
user32: Don't put a default icon on modal dialogs.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 16:38:30 +09:00
Austin English
0cb983f8b8
user32: Add GetGestureConfig stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Piotr Caban
f729e62a27
user32/tests: Show that messages are not converted when function pointer is passed to CallWindowProc.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban
b1132531bf
user32/tests: Show that message conversion should work on window procedures without handles.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban
c9ae38e4c7
user32: Call window procedure even if we're out of winproc handles.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban
55a5bac500
user32/tests: Add initial out of window procedure slots test.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban
7cb0e78dbf
user32: Return window procedure pointer in WINPROC_AllocProc if it's not possible to allocate handle.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Alistair Leslie-Hughes
5fa0422227
user32: Don't leak region on error.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 18:43:01 +09:00
Michael Stefaniuc
3a74fd3f72
user32/tests: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 22:29:03 +09:00
Jacek Caban
d75991d80e
user32: Removed unused owner argument.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:19:06 +09:00
Jacek Caban
ed6614107a
user32/tests: Added more dialog owner tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:18:41 +09:00
Jacek Caban
0d7116b968
user32: Use proper window as dialog owner.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:18:16 +09:00
Jacek Caban
aa5762d5c2
user32: Ignore WM_CHILDACTIVATE on disabled windows in DefMDIChildProc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-27 00:13:29 +09:00
Jacek Caban
142133ae6c
user32: Always enable owner window in EndDialog.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:34 +09:00
Michael Müller
3c888a74c5
user32: Preserve beginning of extra data for MDI windows.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:04 +09:00
Jacek Caban
3ece2ab7ee
user32: Added debug traces to SetParent.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Jacek Caban
d13a44e4aa
user32: Don't use window's parent as an owner if WS_CHILD style is not set.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Frédéric Delanoy
fa56de2cd6
user32/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:11 +09:00
Austin English
c7a4b0628d
user32: Add DisplayConfigGetDeviceInfo stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:06:43 +09:00
Alexandre Julliard
c1ed920e15
user32/tests: Add another test for dialog creation messages without DefDlgProc.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Piotr Caban
e7aabc640d
user32/tests: Add more dialog creation message tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Piotr Caban
73ee2a8b4f
user32: Select text control content while setting dialog focus.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Jactry Zeng
477b713a72
user32/tests: Test DDE end to end with Chinese text that starts with Latin characters.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Nikolay Sivov
8a7e7ec6a1
user32/tests: Simplify some tests using todo_wine_if().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:31 +09:00
Alexandre Julliard
7ad32cf56a
server: Allow lookup_name to distinguish the case of an empty path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:16 +09:00
Alexandre Julliard
7a5b14d456
server: Add a function to open a named object inside any parent, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 16:55:00 +09:00
Kira Backes
94aee7a738
user32: Add MOUSEHOOKSTRUCTEX for mouse wheel support.
...
Signed-off-by: Kira Backes <kira.backes@nrwsoft.de>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 14:06:50 +09:00
Christopher Thielen
9bb87cc71c
user32: A window may be notified with WM_CAPTURECHANGED about itself if SetCapture() is called twice.
...
Signed-off-by: Christopher Thielen <cthielen@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 22:24:11 +09:00
Christopher Thielen
85faafc0e3
user32: Ensure that button responds only to changes in WM_CAPTURECHANGED handler.
...
Signed-off-by: Christopher Thielen <cthielen@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 22:21:32 +09:00
Alex Henrie
d9c8effbf3
user32: Avoid double initialization in IsDialogMessageW.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Alexandre Julliard
34d5994953
user32: Add some tests for window station and desktop object names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:35 +09:00
Hugh McMaster
e7e33aecb3
user32/tests: Add some expected WPARAM values to the SetFocusComboBox sequences.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 23:30:53 +09:00
Piotr Caban
7b3c7af813
user32: Test error returned in out of timers case.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:27:00 +09:00
Anton Baskanov
9220556560
user32: Correctly update caret state in the server in SetCaretPos.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 18:27:31 +09:00
Alexandre Julliard
fcc977c139
server: Store the desktop object names inside their window station.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:40:58 +09:00
Alexandre Julliard
546289dc59
server: Create window stations objects in a standard directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:02:03 +09:00
Jactry Zeng
e632187b19
user32/tests: Fix a leak.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:37:34 +09:00
Carlo Bramini
8d0d1e563c
user32: Remove unused variables in SCROLL_TrackScrollBar.
...
Signed-off-by: Carlo Bramini <carlo.bramix@libero.it>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 23:55:47 +09:00
Hugh McMaster
1f37225a72
user32/tests: Use 'start' and 'end' variables in test comparisons.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 01:44:52 +09:00
Thomas Faller
4e7a7d01ff
dde: Fix use-after-free.
...
Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 16:06:44 +09:00
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
Dmitry Timoshkov
b08c400fe2
user32: Call the EnumChildWindows callback using a wrapper.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard
e5ef460d7d
user32: Preserve the surface contents when changing the WS_EX_LAYERED bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard
2e56a912b4
user32: SetLayeredWindowAttributes is no longer a stub.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:39 +09: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
19a3f6b5cb
user32: Make sure explorer.exe process is spawned for the correct desktop.
...
If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:55 +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
Sebastian Lackner
6bfa3896fc
server: Check winstation visibility in server to avoid race-conditions.
...
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +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
Gerald Pfeifer
1e803cb1df
user32: Avoid shift overflow in nulldrv_GetKeyboardLayoutList.
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:51 +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
bbc849df8d
user32: Reduce the idle timeout before flushing surfaces to make it less noticeable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +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
19d29f3ca5
user32: Don't overwrite 'cb' field with uninitialized data in DdeQueryConvInfo() (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 22:58:44 +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
Austin English
230217e4d2
user32: Use winediag debug channel for some error messages.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 10:58: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
Alex Henrie
5b53c0b88b
user32: Avoid double initialization.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Alex Henrie
6771fa22e9
user32: Remove redundant check for buf's existence.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Alex Henrie
4a3065c5d7
user32: Turn magic values into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Huw Davies
e79684874d
user32: Restore the dc's colours after sending WM_DRAWITEM.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:24 +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
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
Alexandre Julliard
0aa1af219f
user32: Disallow format 0 in SetClipboardData.
2015-06-05 18:36:32 +09:00
Alexandre Julliard
9ce9ba30ea
user32/tests: Add tests for clipboard sequence number and notifications.
2015-06-04 20:15:05 +09:00
Sebastian Lackner
e05e99d754
server: Fix opening clipboard from multiple threads.
2015-06-04 15:58:02 +09:00
Alexandre Julliard
25d9fc3ecc
server: Check for the current owner window on the server side for releases.
2015-06-03 19:29:49 +09:00
Alexandre Julliard
bdf3f413af
server: Allow opening the clipboard again with the same owner.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
4c64d137ff
user32/tests: Remove support for Win9x in clipboard test.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
070a82e743
user32: Merge the AcquireClipboard and EmptyClipboard driver entry points.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
b7c340de73
user32: Get rid of the unused parameter in the EmptyClipboard driver entry point.
2015-06-03 18:46:53 +09:00
Huw Davies
10556c25e4
winex11: Fix ctrl-<symbol> to generate codes below 0x20 where necessary.
2015-05-28 22:44:11 +09:00
Alexandre Julliard
7ab517c3c6
user32: Remove some unnecessary clipboard helper functions.
2015-05-27 17:42:59 +09:00
Bruno Jesus
e0ba6d8fdb
user32: Set the expected errors in GetRawInputDeviceList.
2015-05-27 13:54:37 +09:00
Bruno Jesus
1bba9674d9
user32/tests: Add tests for GetRawInputDeviceList.
2015-05-26 18:45:32 +09:00
Huw Davies
b3fe7f7c1b
user32/tests: Fix tests on Windows 8.
2015-05-20 17:27:10 +09:00
Sebastian Lackner
4439cd433d
server: attach_thread_input shouldn't create queues for foreign threads.
2015-05-18 19:59:28 +09:00
Alex Henrie
5c48752784
user32: Fall back to downscaling the big icon for ICON_SMALL2.
2015-05-14 18:57:26 +09:00
Alex Henrie
0768a62f2c
user32: Simplify GCLP_HICON and GCLP_HICONSM boolean logic.
2015-05-14 18:55:28 +09:00
Alex Henrie
2a94355c91
user32: Free internal icon when freeing the rest of the window class.
2015-05-14 18:54:40 +09:00
Alex Henrie
f920dfd698
user32: Load hIconSmIntern from the best-matching resource.
2015-05-14 00:06:58 +09:00
Alex Henrie
5579967c53
user32: Use the window class icon if the MDI child doesn't have its own.
2015-05-14 00:06:58 +09:00
Alex Henrie
f2bf0227a2
user32: Do not return the class icon when ICON_SMALL2 is requested.
2015-05-14 00:06:57 +09:00
Francois Gouget
701c399fae
user32/tests: Silence some clipboard traces that generate too many lines.
2015-05-12 22:32:29 +09:00
Alexandre Julliard
7f956031bb
user32/tests: Update some todos for changed test failure behavior.
2015-05-07 22:29:21 +09:00
Aric Stewart
3599f956e2
server: Fixup input windows on thread_detach.
2015-05-06 20:54:55 +09:00
Alexandre Julliard
247275aec3
server: Return a valid position also in posted messages.
2015-04-27 18:04:59 +09:00
Aric Stewart
bed7e69a14
server: Do not replace focus and active windows with NULL on thread_attach_input.
2015-04-23 17:48:33 +09:00
Dmitry Timoshkov
c0e876cb9e
server: GetQueueStatus should clear only checked queue changed bits.
2015-04-21 17:32:53 +09:00
Dmitry Timoshkov
d31e8a3118
user32/tests: Add PeekMessage(PM_NOREMOVE) call to inter-thread messages test.
2015-04-21 17:32:31 +09:00
Dmitry Timoshkov
4ae80d15d9
user32/tests: Add a test for sending inter-thread messages.
2015-04-20 21:23:10 +09:00
Sebastian Lackner
d3be42ab96
user32: Invalidate key state cache globally after running LL hooks.
2015-04-07 15:14:04 +09:00
Sebastian Lackner
325c061bbd
user32: Move key state cache into a separate struct.
2015-04-07 15:14:02 +09:00
Sebastian Lackner
26c9ce5d0b
user32/tests: Add tests for ToAscii.
2015-04-06 18:06:13 +09:00
Sebastian Lackner
a2695810e7
user32/tests: Add tests for ToUnicodeEx with a NULL pointer as keystate.
2015-04-06 18:06:10 +09:00
Sebastian Lackner
1059ee3cba
user32: Check for NULL pointer in ToUnicodeEx.
2015-04-06 18:06:04 +09:00
Thomas Faber
2885e712f7
user32/tests: Avoid side-effect in an assert.
2015-04-03 17:07:38 +09:00
Francois Gouget
30206d9f63
user32: Mark internal symbols with hidden visibility.
2015-04-01 14:13:39 +09:00
Alexandre Julliard
13700585b1
user32/tests: Print full flag values in traces.
2015-03-30 19:49:14 +09:00
Alexandre Julliard
766768f033
user32: Remove left-over freeing of the edit text with ES_PASSWORD.
2015-03-30 19:49:12 +09:00
Frédéric Delanoy
f6a341c747
Assorted spelling/grammar fixes.
2015-03-27 22:29:48 +09:00
Francois Gouget
68264c2da7
user32: Remove an unneeded NONAMELESSSTRUCT directive.
2015-03-27 00:12:34 +09:00
Piotr Caban
dfd2506736
user32/tests: Don't send mouse clicks to other process windows in input tests.
2015-03-26 14:21:00 +09:00
Sebastian Lackner
5e5adcffb5
user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo.
2015-03-23 22:59:21 +09:00
Nikolay Sivov
c5dda71cd4
user32/static: Allow setting NULL text.
2015-03-23 16:38:09 +09:00
Sebastian Lackner
1acf20779f
user32/tests: Add tests for removing already seen messages from the queue.
2015-03-17 16:00:46 +09:00
Sebastian Lackner
a9ff334976
user32: Fix invalid memory access and leak if alloc_user_handle fails (Coverity).
2015-03-17 14:52:08 +09:00
Jacek Caban
da72de967b
user32: Allow making window visible by WM_SETREDRAW message.
2015-03-13 21:53:19 +09:00
Alexandre Julliard
a5ec8bf8b0
user32/tests: Avoid a race with the get/set window text threads.
2015-02-24 21:55:44 +09:00
Alexandre Julliard
4e87b952b3
user32/tests: Ignore WM_PAINT messages in GetMessagePos test.
2015-02-24 21:55:43 +09:00
Michael Stefaniuc
63174c2f36
user32: IDI_WINLOGO is already an int resource (PVS-Studio).
2015-02-18 16:09:05 +09:00
Piotr Caban
33803586ed
user32/tests: Test that CS_PARENTDC enables child window to draw over whole parent window.
2015-02-13 21:46:29 +09:00
Piotr Caban
3d6de8c8a2
user32/tests: Add tests for window clipping with CS_PARENTDC flag.
2015-02-13 21:46:25 +09:00
Piotr Caban
03f645a76b
server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified.
2015-02-09 17:40:40 +09:00
Piotr Caban
6c5d4cb07e
user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows.
2015-02-06 00:28:34 +09:00
Piotr Caban
008a2b46f5
user32/tests: Added GetMessagePos tests.
2015-02-04 21:32:50 +09:00