Commit Graph

134 Commits

Author SHA1 Message Date
Alexandre Julliard 75b641fc75 user32: Add a helper function to retrieve the virtual screen rectangle. 2012-09-05 21:56:55 +02:00
Alexandre Julliard 2dc234d923 user32: Only show a window the first time WS_VISIBLE is toggled, to work around Steam's WM_SETREDRAW usage. 2012-09-04 12:38:33 +02:00
Alexandre Julliard 85fed5b194 user32: Invalidate the DCEs while still holding the window lock in SetWindowPos. 2012-08-29 20:10:56 +02:00
Alexandre Julliard 4890964e31 user32: Rely on SetWindowPos to invalidate the DCEs when the window region is changed. 2012-08-29 18:08:10 +02:00
Dmitry Timoshkov 38a76ecb03 user32: SetWindowPos() should check the final window position in screen coords before adding SWP_NOMOVE. 2012-04-02 18:35:55 +02:00
Dmitry Timoshkov ea7e9ed2eb user32: RealChildWindowFromPoint should skip invisible windows. 2012-02-06 10:23:27 -06: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
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
Alexandre Julliard 6a8b38ff20 user32: Dump more SetWindowPos flags. 2008-04-21 20:30:43 +02:00
Alexandre Julliard fa677c7f72 user32: Forward all WM_SYSCOMMAND messages to the driver, not only moves and resizes. 2008-04-10 15:58:43 +02:00
Alexandre Julliard d0e1dd84b2 user32: Fix a few ShowWindow todo tests. 2008-04-04 18:22:40 +02:00
Alexandre Julliard 549f7c91b4 user32: Clamp the mouse position to the window rectangle when starting a window resize. 2008-03-24 18:01:02 +01:00
Dmitry Timoshkov 0506c341ac user32: Increase an initial buffer size from 32 to 128 hwnds for enumerated children. 2008-03-20 19:51:55 +01:00
Alexandre Julliard dc26f27835 winex11: Moved support for window moving/resizing back to user32. 2008-03-12 15:01:24 +01:00
Alexandre Julliard b7d103b634 user32: Force the window position to be on-screen in SetWindowPlacement. 2008-03-07 11:01:07 +01:00
Alexandre Julliard a5b887a8c2 user32: Moved Cascade/TileChildWindows16 to wnd16.c. 2008-03-05 19:20:43 +01:00
Alexandre Julliard e6a3d80828 user32: Store the window placement information directly in the main window structure. 2008-03-04 20:45:40 +01:00
Alexandre Julliard accfce21d3 user32: Fix a couple of message test failures. 2008-03-04 20:01:41 +01:00
Alexandre Julliard c0e10d2b97 user32: Hide the icon title when hiding a window. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 936ab3a644 user32: Moved the ShowWindow implementation from winex11 back to user32. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 1642fbcbc2 user32: Moved the DCE support from winex11 back to user32.
Window and class DCEs are now allocated lazily.
2008-02-25 15:59:19 +01:00
Alexandre Julliard 55165f87cc user32: Pass the modified SetWindowPos flags to the set_window_pos server request. 2008-02-20 14:41:09 +01:00
Alexandre Julliard 8f15dd4d4e user32: Rewrite SWP_DoOwnedPopups to take into account topmost windows. 2008-02-18 15:00:38 +01:00
Maarten Lankhorst c6e61fbf89 user32: Fix a message test that would only pass on wine. 2008-02-18 14:11:17 +01:00
Lei Zhang 6c1cdc7186 user32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Alexandre Julliard d6f6745c9c user32: Moved the bulk of CreateWindow and SetWindowPos from the driver back into user32. 2008-01-24 11:23:09 +01:00
Michael Stefaniuc 3e8970602c dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
Alexandre Julliard c183a9e6e7 server: Added support for HWND_TOPMOST and HWND_NOTOPMOST. 2007-10-31 18:12:56 +01:00
Steven Edwards a725826ada user32: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:34 +02:00
Alexandre Julliard a887a64c17 user32: SetWindowPos should erase the parent also for child moves. 2007-08-27 15:13:51 +02:00
Alexandre Julliard ce7bfd6a3f user32: Erase parent window when child is hidden. From a patch by Clinton Stimpson. 2007-07-31 20:32:15 +02:00
Dmitry Timoshkov 8723b12f98 user32: Windows doesn't redraw a window if it is being just moved. 2007-04-26 16:57:46 +02:00
Louis Lenders 2ca1ddd8f0 user32: Add RealChildWindowFromPoint. 2007-04-12 16:33:52 +02:00
Alexandre Julliard 1767b4558a server: Expose areas revealed by changes to the window region. 2007-03-05 16:43:27 +01:00
Pierre d'Herbemont e5e58a6b13 user32: Factorize driver's SetWindowPos in user32. 2006-11-29 14:05:33 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00