Commit Graph

171 Commits

Author SHA1 Message Date
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
Abey George 8beefb51bf Validate the parent with the child window client rectangle when the
parent's update region is not empty.
1999-07-18 15:40:03 +00:00
Ulrich Weigand 203780eb6e Removed all EVENT_Synchronize( FALSE ) calls; use a periodic callback
calling XFlush() instead.
1999-07-10 10:24:31 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Yuxi Zhang 8e35d65f06 Fix a bug in SetWindowPos to prevent parent from erasing its child
painting area when parent window and child window don't have
WS_CLIPCHILDREN and WS_CLIPSIBLINGS.
1999-07-04 10:53:43 +00:00
Ulrich Weigand 7f53c57321 - Do not call XConfigureWindow if SetWindowPos was called due to a
received ConfigureNotify event (to avoid recursion).
- Use XTranslateCoordinates in EVENT_GetGeometry instead of manually
  walking the tree.
- Set XSizeHint.win_gravity to StaticGravity for managed windows.
1999-06-18 17:03:13 +00:00
Ulrich Weigand b38e1decb8 Better implementation of [GS]etForegroundWindow.
Fixed focus handling on inter-thread activation.
Adapted FocusIn/Out event handling to per-queue focus.
1999-06-12 06:42:20 +00:00
Ulrich Weigand 153334e50a Removed DummyMotionNotify EVENT driver routine. 1999-06-05 09:02:11 +00:00
Eric Pouech 6cf348d70a In SetWindowPos if changing Z order and child window not yet in its
parent list, do not link it in WINPOS_ShowIconTitle, check for retval
of WIN_FindWndPtr.
1999-05-22 19:20:02 +00:00
Ulrich Weigand c758201397 Don't change Z-order of child windows when activating. 1999-05-22 18:54:41 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Francis Beaudet d9a3d70df5 Fixed an infinite loop in ChildWindowFromPointEx. 1999-05-13 18:43:15 +00:00
Alex Korobka 98447497b7 Rearranged PAINT_RedrawWindow() so that it first recursively updates
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Michael Veksler 9d14a001f7 Removed #include "wine/winuser16.h" and use "struct tag????" instead. 1999-05-08 12:40:24 +00:00
Noel Borthwick 10619e98e4 Fixed an unbalanced windows lock/unlock sequence in
WINPOS_ActivateOtherWindow.
1999-05-02 11:20:00 +00:00