Commit Graph

255 Commits

Author SHA1 Message Date
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
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