Commit Graph

185 Commits

Author SHA1 Message Date
Alexandre Julliard 9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
James Hatheway 4ae481e4e0 SetWindowRgn shouldn't activate the window. 2001-04-12 21:06:17 +00:00
Alexandre Julliard f88e5aa7bf Cleaned up assumptions about WS_CHILD flag so that we can allow it to
be changed in SetWindowLong.
2001-03-21 23:55:36 +00:00
Ove Kaaven e17aaa22d4 Win2000: If both WS_EX_LAYERED and WS_EX_TRANSPARENT styles are set,
mouse clicks should go straight through the window.
2001-03-19 19:14:22 +00:00
Dmitry Timoshkov 0c2885e194 Add DCX_CLIPSIBLINGS to flags for DCE_GetVisRgn only if window has
WS_CLIPSIBLINGS bit set.
2001-03-04 01:05:00 +00:00
Dominik Strasser 0d86ffeda2 Avoid crash at end of list. 2001-02-28 21:40:19 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Martin Pilka d1e3245b6b Fixed SW_RESTORE handling. 2001-01-26 20:37:48 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Susan Farley 8cc20f8f7e Always restore the bit_gravity to BGForget after using BGNorthwest to
copy bits during SetWindowPos.
2001-01-25 21:46:26 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
Alexandre Julliard e1f3803daa Removed the dummy mouse event in SetWindowPos. 2000-12-22 01:31:51 +00:00
Gerard Patel cc3e0c5d90 WM_GETMINMAXINFO track min size should be used in SetWindowPos also
for 32 bits apps.
2000-12-18 03:10:42 +00:00
Alexandre Julliard ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Rein Klazes 354f9826b8 In SWP_DoNCCalcSize() when determining whether the client area has
moved, use the client coordinates as they are: not relative to its
window coordinates.
2000-10-25 20:29:06 +00:00
Louis Philippe Gagnon e4ab07e0fe - Calculate changes in the client area relative to the window
instead of its parent when using SWP_EX_PAINTSELF.
- With SWP_EX_PAINTSELF, copy only if client area changed, since a
  window can't move relative to itself.
- In SWP_DoNCCalcSize, when determining if the client area
  changed, use values relative to the window itself, not its parent.
2000-10-23 00:36:06 +00:00
Susan Farley 557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Dmitry Timoshkov 8e2643687d If window was not resized and not moved, repaint only itself excluding
parent.
2000-09-27 22:26:51 +00:00
James Hatheway 3489997573 KDE 1.x has problems with using XShapeCombineMask when there was no
previous region.
2000-09-12 23:59:57 +00:00
Gerard Patel 7d0968e03b Enables showing of hidden windows when the app ask *only* to maximize it. 2000-08-21 02:38:23 +00:00
Huw D M Davies b00c0124b9 WINPOS_WindowFromPoint should respect hrgnWnd. 2000-08-07 17:10:39 +00:00
Marcus Meissner 64c86ffe66 Removed local variable shadows warnings. 2000-08-07 04:16:43 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Francois Jacques 5b6879c5c0 - implementation of SetWindowsRgn and GetWindowRgn
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Susan Farley f2355e0f15 Don't destroy the caret on SWP_HIDEWINDOW. 2000-07-25 20:59:03 +00:00
Jean-Claude Batista 69d39ab023 Ensure the validity of hOldFocus before calling WIN_GetTopParent. 2000-07-15 19:44:04 +00:00
Susan Farley b3f8a6390f Check for WS_DISABLED parent in WindowFromPoint for un-managed windows. 2000-07-08 18:28:25 +00:00
Slava Monich cdbe644f77 BeginDeferWindowPos should allow zero count. 2000-07-08 12:44:09 +00:00
Noomen Hamza 6effb2304b Made SetWindowPos handle the case when inserting a window after itself
(don't need to change the Zorder).
2000-06-14 21:16:18 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Gerard Patel 28dab87681 Activate a hidden window only when explicitely asked by the
application.
2000-03-26 13:38:15 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Rein Klazes d38f600f69 Avoid problems during changing the Z-order if the window and the
window to insert after are the same.
2000-01-08 22:22:28 +00:00
Huw D M Davies be89816eef Avoid infinite loop in WINPOS_FindIconPos if the width of the parent
client area is less than the icon spacing.
1999-12-25 22:51:19 +00:00
Lionel Ulmer acc7467c03 Added the possibility to have mouse movements reported relative to
Wine's mouse driver.
1999-11-07 21:25:57 +00:00
Abey George 983f90a594 Changed WINPOS_CanActivate to not to consider WS_VISIBLE style.
Code for activating and setting focus to other windows when a window
is hidden, is moved to ShowWindow from SetWindowPos.
Activate the top level window if it's not active in ShowWindow(SW_SHOW).
1999-10-13 15:43:45 +00:00
Thuy Nguyen 22614a3390 We have to activate MDI child windows. 1999-10-13 13:53:10 +00:00
Abey George c684d8ef6f Check new coordinates received in WM_NCCALCSIZE message. 1999-09-03 15:09:57 +00:00
Francis Beaudet 8623fdc251 If the window is already the topmost window in ShowWindow(SW_SHOW), it
must not be activated.
1999-08-07 14:14:06 +00:00
Yuxi Zhang a961c445ed Tried to fix the code for SetWindowPos to erase the background
properly.
1999-07-31 11:09:33 +00:00
Thuy Nguyen f18e7c322e Check if the window has the WS_CLIPSIBLINGS style before using the
DCX_CLIPSIBLINGS flag.
1999-07-27 17:03:16 +00:00