Commit Graph

230 Commits

Author SHA1 Message Date
Dmitry Timoshkov 4c5a32e791 user32/tests: Fix window tests compilation with __WINESRC__ defined. 2013-10-24 10:45:14 +02:00
Francois Gouget bd97f64d04 user32/tests: Add a trailing '\n' to a few ok() calls. 2013-06-14 11:45:19 +02:00
Marcus Meissner b853ddc40b user32/tests: Remove side effects from assert()s. 2013-06-10 11:56:27 +02:00
Sergey Guralnik e90418d31c user32: Bring reference MDI child to bottom when switching to next. 2013-06-06 10:42:51 +02:00
Sergey Guralnik fe2f877678 user32/tests: Test MDI child order changing caused by WM_MDINEXT. 2013-06-05 20:30:58 +02:00
Sergey Guralnik e3219fa426 user32/tests: Fix a typo. 2013-05-29 19:48:57 +02:00
Sergey Guralnik 108173fd09 user32/tests: SetWindowPos() propagates update region from WS_CLIPCHILDREN child to its children. 2013-04-12 16:28:13 +02:00
Christian Costa 5267f8b7d9 user32: Add tests for MapWindowPoints, ClientToScreen and ScreenToClient.
Based on a patch by Rico Schüller.
2012-11-14 16:29:51 +01:00
Alexandre Julliard 53e4e504b9 user32: Add tests for UpdateLayeredWindowIndirect and fix the behavior of the ULW_EX_NORESIZE flag. 2012-09-27 17:45:43 +02:00
Michael Stefaniuc 4affaea0ba user32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:51 +02:00
Alexandre Julliard b3d91ea3b6 user32/tests: Try to fix a test that frequently fails on Windows. 2012-07-18 11:48:54 +02:00
Piotr Caban 42eb57dfa7 user32/tests: Added SetWindowPos test that incorrectly sets focus. 2012-05-22 18:02:55 +02:00
Dmitry Timoshkov 9d538e43be user32: Make FlashWindowEx tests pass under Windows. 2012-02-07 09:31:33 -06:00
Dmitry Timoshkov 39a4b5fa94 user32: Fix a couple of typos. 2012-02-07 09:31:21 -06:00
Dmitry Timoshkov ea7e9ed2eb user32: RealChildWindowFromPoint should skip invisible windows. 2012-02-06 10:23:27 -06:00
Dmitry Timoshkov 8c7f3964b5 user32: Add a bunch of RealChildWindowFromPoint tests. 2012-02-06 10:23:23 -06:00
Dmitry Timoshkov 2455b3815a user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 11:13:23 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Dmitry Timoshkov 1830739118 user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 10:19:26 +01:00
Dmitry Timoshkov 18576b36e4 user32: Add the tests for dialog window styles, make them pass under Wine. 2011-12-07 17:50:00 +01:00
Dmitry Timoshkov 8f565eb6ae user32: Add more window style tests, make them pass under Wine. 2011-12-07 17:49:59 +01:00
Alexandre Julliard 9687ceaf1d user32: Don't allow activating a WS_CHILD top-level window through SetFocus. 2011-11-22 21:39:46 +01:00
Dmitry Timoshkov 50d37fe0ab user32: Add tests for mixed WS_CHILD | WS_POPUP window styles. 2011-11-15 19:37:33 +01:00
Michael Stefaniuc 1435b5ecd7 include: Make "long" numeric constants LP64/LLP64 proof (winuser.h). 2011-10-31 16:46:22 +01:00
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