André Hentschel
fd71f87642
user32/tests: Don't test function directly when reporting GetLastError().
2011-09-26 18:15:34 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
André Hentschel
7c8ce6c6e4
user32/tests: Add tests for FlashWindowEx.
2011-05-24 12:19:11 +02:00
David Hedberg
c764210731
user32: Fix return value when passing a non-sibling preceding window to SetWindowPos.
...
Acrobat Reader relies on SetWindowPos, with hwndInsertAfter set to a
non-sibling window and no SWP_NOZORDER passed, to return true.
2011-03-30 15:03:44 +02:00
David Hedberg
955ec50173
user32/tests: Add some more tests for SetWindowPos.
2011-03-30 14:59:48 +02:00
Jörg Höhle
8d387f06eb
user32/tests: Add a few IsWindow checks.
2011-03-30 13:28:04 +02:00
Marcus Meissner
89e662084f
user32: Move functional code out of assert() (Coverity).
2011-02-23 18:22:50 +01:00
Dmitry Timoshkov
cf6c76b3b4
user32: Cope with failing SetForegroundWindow().
2011-02-21 15:18:29 +01:00
Dmitry Timoshkov
798edfec16
user32: Use the windows created by the SetParent() test to get a more predictable active/focus window state.
2011-02-18 14:54:51 +01:00
Dmitry Timoshkov
de2aeebe72
user32: Add a test for reparenting a WS_POPUP window to a WS_CHILD parent.
2011-02-09 13:46:00 -06:00
André Hentschel
cbf967d600
user32/tests: Don't test function directly when reporting GetLastError().
2010-12-31 11:44:26 +01:00
Alexandre Julliard
30554d4ef1
user32: Check structure size in GetGUIThreadInfo.
2010-11-16 21:54:03 +01:00
Alexandre Julliard
8c963852f8
explorer: Make the systray window look more like a real taskbar in desktop mode.
2010-11-02 10:32:35 +01:00
Dmitry Timoshkov
2f0b9dd3bf
user32: FindWindow() should treat an empty title same way as NULL.
2010-10-19 11:00:32 +02:00
Vladimir Panteleev
824c5089d2
user32: Update last active popup for all parents.
2010-10-18 19:47:58 +02:00
Louis Lenders
62b9df9031
user32/tests: Test FindWindowEx for empty window title.
2010-10-11 17:11:25 +02:00
Alexandre Julliard
d076dfa8e8
server: Update child window positions when resizing a mirrored parent.
2010-10-05 11:01:21 +02:00
Alexandre Julliard
97611dca8b
gdi32: Implement MirrorRgn.
2010-09-27 20:45:56 +02:00
Alexandre Julliard
5702324b37
user32: Add support for RTL window layouts in MapWindowPoints.
2010-09-22 20:27:52 +02:00
Dmitry Timoshkov
a7188842af
user32: UpdateLayeredWindow() should fail on non-layered or already initialized window.
2010-09-21 20:16:15 +02:00
Dmitry Timoshkov
8118430b68
user32: Do not test window state on the HCBT_SETFOCUS event, it's undefined.
2010-09-21 17:53:55 +02:00
Alexandre Julliard
cd56299e2f
user32/tests: Fix a number of test failures on Windows 7.
2010-09-03 11:04:33 +02:00
Alexandre Julliard
196ec5969d
user32: Implement Get/SetProcessDefaultLayout.
2010-09-02 18:01:01 +02:00
Alexandre Julliard
942866f90d
user32: Make child windows inherit the WS_EX_LAYOUTRTL style from their parent.
2010-09-02 17:55:02 +02:00
Alexandre Julliard
f061743a90
user32/tests: Remove some noisy output.
2010-09-01 11:13:59 +02:00
Alexandre Julliard
cd79ec79a6
user32: Prevent changing some window styles through SetWindowLong.
2010-09-01 11:13:27 +02:00
Dmitry Timoshkov
dfe6ae58af
user32: Protect from setting as a window owner one of its successors.
2010-08-04 17:35:22 +02:00
Dylan Smith
9f32d6d6a9
user32: Prevent resize of minimized windows from SetWindowPos.
2010-07-22 12:57:04 +02:00
Dylan Smith
f35dabad99
user32/tests: Minimized windows shouldn't be resizable.
2010-07-22 12:56:41 +02:00
Austin English
6487f3397a
user32/tests: Check return value of GetUpdateRect in test_validatergn.
2010-05-27 14:46:43 +02:00
Gerald Pfeifer
173a813e6a
user32/tests: Remove variable atom which is not really used from test_Expose.
2010-05-10 18:20:36 +02:00
Gerald Pfeifer
612df7ee22
user32/tests: Remove SetShellWindowEx from test_shell_window.
2010-05-10 10:17:54 +02:00
Alexandre Julliard
b6765134a3
user32: The Z-order of owned windows doesn't depend on them having the WS_POPUP style.
2010-04-13 21:10:00 +02:00
Alexandre Julliard
c4dec77064
user32/tests: Fix a test that was incorrectly skipped on non-Win9x platforms.
2010-04-06 12:42:57 +02:00
Alexandre Julliard
ce31f2da0a
user32/tests: Fix a couple of race conditions.
2010-03-23 13:24:27 +01:00
Paul Vriens
b897a37f38
user32/tests: Fix timeouts on Win9x/WinMe.
2010-03-19 12:26:46 +01:00
Henri Verbeet
d9381b97aa
user32/tests: Add a test for foreground windows on a different thread.
...
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
2010-03-18 10:23:46 +01:00
Nikolay Sivov
9b7b3ef1c4
user32/tests: Test to show that caption added for WS_EX_LAYERED as well.
2010-02-24 15:12:30 +01:00
Alexandre Julliard
adf9dcd6a7
user32: Fix Z-order handling of windows that have a top-most owner.
2010-02-19 13:05:08 +01:00
Paul Vriens
1cbedfb204
user32/tests: Fix crash on Win9x/WinMe.
2010-02-08 17:14:43 +01:00
Paul Vriens
c0acfe1ead
user32/tests: Don't try to detect Win9x/WinMe several times.
2010-02-08 17:14:43 +01:00
Bernhard Übelacker
8d127f3a81
user32: Don't hide the window in SetParent when window and parent are equal.
2010-02-05 13:14:45 +01:00
Alexandre Julliard
30e1445f08
user32/tests: Fix the menu capture test for NT4.
2010-02-05 11:29:12 +01:00
Alexandre Julliard
c4568edd64
user32/tests: Dispatch a message in case we can a WM_PAINT.
2010-02-02 11:47:20 +01:00
Paul Vriens
665c90a9c7
user32/tests: Don't crash on Win9x/WinMe.
2010-01-22 12:14:34 +01:00
Paul Vriens
5da7043c52
user32/tests: Run tests again on Win95.
2010-01-18 14:20:29 +01:00
Peter Dons Tychsen
d21c131fb5
user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified.
2010-01-14 09:04:55 -06:00
Ilya Shpigor
e6f0404076
user32: Fix switching focus to parent after child hiding.
2009-11-05 14:45:33 +01:00
Paul Vriens
eaec876917
user32/tests: Fix a typo.
2009-10-23 20:01:53 +02:00
Alexandre Julliard
1b27890af6
user32: Fix the return value of EnumThreadWindows.
2009-10-23 15:54:07 +02:00
Paul Vriens
7be2f6d985
user32/tests: Fix some test failures with 9x/Me on VMware.
2009-10-06 16:13:18 +02:00
Alexandre Julliard
50573f424a
user32/tests: Add missing flush_events in ScrollWindow test.
2009-09-25 16:08:50 +02:00
Rein Klazes
1775ab4a11
user32: In ScrollWindowEx do not clip the clipping rectangle with the scrolling rectangle.
2009-09-24 14:31:17 +02:00
Austin Lund
3dcd46f597
user32/tests: Remove superfluous code from WM_PAINT loop test.
2009-08-14 11:27:31 +02:00
Austin Lund
65758cde7f
user32/tests: Added tests for infinite WM_PAINT loop.
2009-08-13 16:22:07 +02:00
Alexandre Julliard
7b40a2fa95
user32/tests: More systematically ignore the messages we don't care about.
2009-06-04 12:17:48 +02:00
Alexandre Julliard
f922283335
user32/tests: Only check the foreground window when it belongs to the current thread.
2009-06-02 11:57:22 +02:00
Alexandre Julliard
d6c8a003e1
user32/tests: Add more systematic support for ignoring certain messages.
2009-05-12 12:09:30 +02:00
Alexandre Julliard
287d22eba3
user32/tests: Fix a couple of test failures on Windows.
2009-04-10 20:45:08 +02:00
Nikolay Sivov
a2b7aafdae
user32: Implemented GetWindowRgnBox with some tests.
2009-04-02 15:09:55 +02:00
Alexandre Julliard
943ae1f5a6
user32/tests: SetForegroundWindow sometimes fails on Win98.
2009-03-11 13:03:32 +01:00
Francois Gouget
8b28508d2b
user32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:21 +01:00
Alexandre Julliard
9120ce53f1
user32/tests: Remove an unreliable pixel test.
2009-02-20 18:46:05 +01:00
Alexandre Julliard
d00ad7f197
user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.
2009-02-16 11:52:38 +01:00
Alexandre Julliard
2d155031cc
user32/tests: Skip tests if we fail to inject mouse or keyboard events.
2009-02-13 13:03:26 +01:00
Alexandre Julliard
bd36ca6e79
user32/tests: Fix Z-order tests in the presence of owned popups.
...
Also fix a couple of other failures on Windows.
2009-02-12 17:53:35 +01:00
Alexandre Julliard
a5162b62e7
user32/tests: Fix some window test failures on various Windows platforms.
2009-02-09 14:37:23 +01:00
Michael Stefaniuc
e89386a59e
user32/tests: Remove superfluous pointer casts.
...
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Florian Köberle
8afc5fe6d5
user32: Fix maximized child windows.
2009-01-27 15:18:56 +01:00
Florian Köberle
4cfb1e6952
user32/tests: Improved an error message.
2009-01-27 15:18:28 +01:00
Florian Köberle
a50deff4be
user32: Fix thick child minTrack and size.
2009-01-27 15:18:10 +01:00
Florian Köberle
ce119daf3e
user32: Fix maxPosition of thick child windows.
2009-01-27 15:18:00 +01:00
Florian Köberle
dc1a7113b5
user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition.
2009-01-27 15:17:51 +01:00
Alexandre Julliard
7cbe285416
user32/tests: Make the traces less verbose in the window test.
2009-01-25 17:29:32 +01:00
Florian Köberle
8784702d1f
user32: Fixed max size of child with exStyle WS_EX_DGLMODALFRAME.
2009-01-23 15:39:39 +01:00
Alexandre Julliard
00b851d864
user32/tests: Make the DC test window top-most. Ignore an extra WM_MOUSEMOVE.
2009-01-23 13:13:54 +01:00
Alexandre Julliard
e280bf6644
user32/tests: Don't display window info for hooks that don't contain a window.
...
Ignore some more registered messages.
Fix some other failures on Win2k.
2009-01-22 15:28:05 +01:00
Florian Köberle
72e6fe9431
user32/tests: Extended test about thick child windows.
2009-01-21 13:27:08 +01:00
Florian Köberle
7b8b17dd42
user32/tests: Fixed error message.
2009-01-21 13:27:05 +01:00
Alexandre Julliard
c6144893b6
user32/tests: Fix the layered window tests for some Vista versions.
2009-01-13 17:33:08 +01:00
Michael Stefaniuc
e202baabd5
user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR.
2009-01-13 15:26:11 +01:00
Alexandre Julliard
d852ac0b1f
user32/tests: Fix some integer to pointer conversion warnings.
2009-01-08 13:18:01 +01:00
Alexandre Julliard
d8e11632f1
user32/tests: Fix some printf formats for 64-bit.
2009-01-03 20:16:33 +01:00
Paul Vriens
f4da3fd7ac
user32/tests: Destroy the windows after the tests.
2008-12-16 12:51:03 +01:00
Alexandre Julliard
ad4605fc61
user32/tests: Added some tests for behavior of 64-bit user handles.
2008-12-08 16:05:58 +01:00
Alexandre Julliard
5118108c82
user32/tests: Fix a number of window tests on Win9x and Vista.
2008-11-26 12:04:51 +01:00
Alexandre Julliard
bd8e14bedd
user32/tests: Only test the window caption status if there is a foreground window.
2008-11-21 15:53:25 +01:00
Paul Vriens
a413c38a7c
user32/tests: Fix a few test failures on Win9x.
2008-11-21 10:03:17 +01:00
Alexandre Julliard
424b5e61f0
user32/tests: Allow the foreground window to be null in the window tests.
2008-11-20 20:51:06 +01:00
Paul Vriens
bc3484bc20
user32/tests: Don't crash on Win95.
2008-11-20 12:01:27 +01:00
Alexandre Julliard
80e163eba9
user32/tests: Fix a few more failures in the window test.
2008-11-20 11:57:32 +01:00
Florian Köberle
c6adf31841
user32/tests: Test size and minmax of WS_THICKFRAME child.
2008-11-19 15:02:37 +01:00
Florian Köberle
b422c4b874
user32/tests: Capture tests should not require no active window.
2008-11-19 14:57:50 +01:00
Damjan Jovanovic
1603a51d4e
user32: Handle NULL rectangles in WM_NCCALCSIZE.
2008-11-18 15:52:00 +01:00
Vitaliy Margolen
a4b62b1781
user32/tests: Print line numbers of callers in check_wnd_state to help debugging.
2008-11-13 12:04:13 +01:00
Alexandre Julliard
4a57339236
user32/tests: Fix window tests on various Windows versions.
2008-11-12 11:48:49 +01:00
Detlef Riekenberg
de267347c5
user32/tests: Avoid crash on win9x.
2008-10-27 13:49:21 +01:00
Dmitry Timoshkov
d6544f041b
user32: Fix a typo.
2008-10-20 12:23:41 +02:00
Dmitry Timoshkov
922dc31224
user32: Add a test for fullscreen window sizing, make it pass under Wine.
...
It appears that Windows doesn't always restrict the window size by
the monitor work area. The tests pass under XP SP3 and Win98.
2008-10-17 11:42:31 +02:00
Dmitry Timoshkov
53160b600f
user32: Print the expected and received rectangles.
2008-10-06 13:48:14 +02:00