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
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
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
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
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
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
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
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
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
Nikolay Sivov
873e12c87b
user32/tests: Fix a test failure on Win8/Win10.
2015-08-24 14:42:13 +09: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
5c48752784
user32: Fall back to downscaling the big icon for ICON_SMALL2.
2015-05-14 18:57:26 +09:00
Alexandre Julliard
247275aec3
server: Return a valid position also in posted messages.
2015-04-27 18:04:59 +09:00
Thomas Faber
2885e712f7
user32/tests: Avoid side-effect in an assert.
2015-04-03 17:07:38 +09:00
Alexandre Julliard
13700585b1
user32/tests: Print full flag values in traces.
2015-03-30 19:49:14 +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
Piotr Caban
008a2b46f5
user32/tests: Added GetMessagePos tests.
2015-02-04 21:32:50 +09:00
Sebastian Lackner
d5ba7451a3
user32: Avoid sending window messages in FindWindowExW.
2014-11-18 22:10:38 +09:00
Sebastian Lackner
c56ba461a2
user32/tests: Add multi-threaded tests for [Get|Set]WindowText.
2014-11-18 22:10:36 +09:00
Sebastian Lackner
d6bdae11df
user32/tests: Add single-threaded tests for WM_[GET|SET]TEXT and [Get|Set]WindowText.
2014-11-18 22:10:28 +09:00
Sebastian Lackner
0a6e56bdc6
user32/tests: Reenable test function for WM_GETTEXT.
2014-11-18 22:10:24 +09:00
Sebastian Lackner
381adbf1c4
user32/tests: Add tests for internal window messages of FindWindowEx.
2014-11-18 22:09:47 +09:00
Sebastian Lackner
0cf86baf65
user32/tests: Remove unnecessary char array and add additional test in test_FindWindowEx.
2014-11-18 22:09:28 +09:00
Piotr Caban
3f1bbdcae3
server: Send mouse hardware messages to thread owning top-most window.
...
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Piotr Caban
0b273d279b
user32/tests: Add cross-process mouse click test.
2014-09-29 18:55:33 +02:00
Piotr Caban
c86bd676c7
user32/tests: Add cross-process WindowFromPoint tests.
2014-09-29 18:55:21 +02:00
Piotr Caban
d137a95fda
user32/tests: Add initial WindowFromPoint tests.
2014-09-29 18:55:16 +02:00
Alexandre Julliard
ae6efdd45d
user32/tests: Silence some noisy traces.
2014-06-17 10:58:55 +02:00
Alexandre Julliard
a95651a5dc
user32/tests: Remove some noisy traces.
2014-06-13 10:13:41 +02:00
Piotr Caban
7257b62bd1
user32: Try to activate topmost activable window in WINPOS_ActivateOtherWindow.
2014-06-11 16:09:01 +02:00
Vincent Povirk
417585661c
server: Clear the queue's QS_SMRESULT bit when sending a new message.
2014-05-20 21:26:52 +02:00
Vincent Povirk
abea10fa93
user32/tests: Add test for SendMessage race condition.
2014-05-19 18:55:55 +02:00
Vincent Povirk
eb8406b810
user32/tests: Our popup test window loses capture to itself.
2014-04-25 10:16:15 +02:00
Piotr Caban
27374064b6
user32: Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function.
2014-04-02 19:06:09 +02:00
Francois Gouget
ebd9918830
user32/tests: Fix compilation on systems that don't support nameless unions.
2014-03-31 15:28:45 +02:00
Piotr Caban
de21941178
user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag.
2014-03-27 16:18:05 +01:00
Piotr Caban
1cf3d8caa4
user32: Change SetFocus behavior on windows with parent and no WS_CHILD flag.
2014-03-26 19:20:44 +01:00
Piotr Caban
61a92af5ca
user32/tests: Workaround SetForegroundWindow failure due to foreground lock timeout.
2014-03-25 13:55:42 +01:00
Frédéric Delanoy
9b1a2d8f4f
user32/tests: Use BOOL type where appropriate.
2014-03-18 12:32:52 +01:00
Piotr Caban
367577c0d6
user32: Check WS_CHILD style in IsChild function.
2014-02-27 09:51:50 -06:00
André Hentschel
c855459a40
user32/tests: Avoid preprocessor check to ensure it compiles.
2014-01-28 11:50:15 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00