Commit Graph

78 Commits

Author SHA1 Message Date
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
Alexandre Julliard 2f368cfad2 user32: Reset the cursor clip rectangle before moving a window. 2011-03-30 13:28:04 +02:00
Dmitry Timoshkov 5fea02e8c2 user32: Add the SW_SHOWDEFAULT case to WINPOS_MinMaximize(). 2011-03-29 12:58:24 +02:00
Alexandre Julliard ee44c7c0f4 user32: Fix coordinates mapping for the desktop window in the explorer process. 2010-12-13 12:43:34 +01:00
Alexandre Julliard 1829fc51c1 user32: Return some fake information for an inter-process GetWindowPlacement. 2010-12-09 20:43:26 +01:00
Alexandre Julliard 377820e313 user32: Don't rely on the cached position for windows that have a mirrored parent. 2010-10-05 11:01:21 +02:00
Alexandre Julliard 2f6d41de46 user32: Free the window region once it has been set. 2010-09-27 21:06:43 +02:00
Alexandre Julliard d43cc0cd82 user32: Fix the window positions when moving a child window for a RTL window. 2010-09-24 15:45:54 +02:00
Alexandre Julliard 9bbfcb5b07 user32: Add support for RTL window layouts in GetUpdateRgn and GetUpdateRect. 2010-09-23 17:50:11 +02:00
Alexandre Julliard 024521190a user32: Always store the window rectangles unmirrored after SetWindowPos. 2010-09-23 17:50:10 +02:00
Alexandre Julliard 5702324b37 user32: Add support for RTL window layouts in MapWindowPoints. 2010-09-22 20:27:52 +02:00
Alexandre Julliard 9b693ddadb user32: Use WIN_GetRectangles where possible instead of mapping coordinates explicitly. 2010-09-07 15:11:24 +02:00
Alexandre Julliard 141defbd54 user32: Use WIN_GetRectangles where possible instead of accessing the window structure. 2010-09-07 14:55:42 +02:00
Alexandre Julliard 7295b6746d user32: Add support for fetching window rectangles relative to various origins. 2010-09-07 14:31:30 +02:00
Dmitry Timoshkov 38b8805c0c user32: Add a bunch of GetWindowPlacement() tests, fix some simple cases. 2010-09-01 17:07:35 +02:00
Dylan Smith 9f32d6d6a9 user32: Prevent resize of minimized windows from SetWindowPos. 2010-07-22 12:57:04 +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 adf9dcd6a7 user32: Fix Z-order handling of windows that have a top-most owner. 2010-02-19 13:05:08 +01:00
Alexandre Julliard df3e5a8762 user32: Reimplement MapWindowPoints16 and move it to wnd16.c. 2009-12-22 13:48:24 +01:00
Ilya Shpigor e6f0404076 user32: Fix switching focus to parent after child hiding. 2009-11-05 14:45:33 +01:00
Alexandre Julliard 4bb95f4d0f user32: Use the generic handle functions for windows too. 2009-10-12 17:07:04 +02:00
Alexandre Julliard da3c4c995a user32: Use client-side user handles for DeferWindowPos. 2009-10-12 17:07:04 +02:00
Alexandre Julliard b464f9cacb user32: Bring SwitchToThisWindow a bit more in line with the now documented behavior. 2009-08-31 16:37:19 +02:00
Henri Verbeet b31f0f24ff user32: Send 0 as LPARAM for SIZE_MINIMIZED WM_SIZE messages. 2009-08-03 15:02:51 +02:00
Nikolay Sivov a2b7aafdae user32: Implemented GetWindowRgnBox with some tests. 2009-04-02 15:09:55 +02:00
Michael Stefaniuc 214b40b109 user32: Remove superfluous pointer casts. 2009-03-02 12:11:38 +01:00
Austin English f1ea9f6e79 user32: Add a missing HeapFree. 2009-02-23 12:19:38 +01:00
Florian Köberle 640d2e029a user32: Unify handling of child and normal windows in getMinMaxInfo.
The code for the child windows works now for the standalone windows as well.
2009-01-27 15:20:01 +01:00
Florian Köberle 8afc5fe6d5 user32: Fix maximized child windows. 2009-01-27 15:18:56 +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 4487f85e58 user32: Removed code without effect. 2009-01-23 15:39:44 +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
Florian Köberle aaddefff53 user32: Refactor of WINPOS_GetMinMaxInfo.
Moved and duplicated the code below the "if child" statement into the
if and else block.
2009-01-23 15:38:52 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01: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
Alexandre Julliard aef7723c3e user32: Don't reinitialize the window placement even if the window rect is empty. 2008-09-16 16:29:26 +02:00
Alexandre Julliard d3f4fb4929 user32: Fix DeferWindowPos to work on windows belonging to other processes. 2008-09-09 11:46:18 +02:00
Alexandre Julliard 4c431197ca user32: Add an entry point for ShowWindow to the driver interface. 2008-07-30 16:13:28 +02:00
Alexandre Julliard cd337174aa user32: Return a proper rectangle from WINPOS_MinMaximize. 2008-07-30 16:05:09 +02:00
Alexandre Julliard 406f5b2545 user32: Fix MapWindowPoints behavior in the process that owns the desktop window. 2008-07-22 15:31:04 +02:00
Alexandre Julliard 2734fb44e0 user32: Properly update position after dragging an iconic window. 2008-07-07 15:51:30 +02:00
Alexandre Julliard 0f9484a124 server: Set the visible rect in the set_window_pos request again.
This essentially reverts 2f69329a37.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard 89a3bd0c15 user32: Split the SetWindowPos driver backend in WindowPosChanging/Changed.
This is needed to allow updating the visible rect before invalidating
the DCEs.
2008-07-02 15:40:10 +02:00
Alexandre Julliard 782403085f user32: Treat the top-level message window as a desktop window. 2008-06-25 15:20:26 +02:00
Anatoly Lyutin 8fb730543d user32: Return at the end of processing (cmd == SW_HIDE). 2008-06-21 11:36:40 +02:00
Alexandre Julliard 688febb8ce user32: Return reasonable values in GetWindowPlacement for the desktop window. 2008-05-22 17:04:22 +02:00
Alexandre Julliard ad0e82e136 user32: Invalidate the DCE in SetWindowPos before we attempt to move the window bits. 2008-05-12 13:59:13 +02:00
Andrew Talbot d8ce2207b8 user32: Remove unused variables. 2008-04-30 10:25:35 +02:00
Alexandre Julliard b9443c9a14 user32: Invalide DCEs also when resizing a hidden window, or when minimizing. 2008-04-21 20:31:14 +02:00