Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Guy L. Albertelli
361f980659
Trace rectangles returned by GetClientRect and GetWindowRect.
2001-07-20 17:58:41 +00:00
Patrik Stridvall
e9782fa1fc
Documentation fixes.
2001-07-12 22:33:51 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Alexandre Julliard
ed15fc7de1
Moved ForceWindowRaise to the USER driver and removed the WND driver.
2001-06-29 01:26:41 +00:00
Alexandre Julliard
ee8ab7af8a
Avoid returning an unlocked window pointer from WINPOS_WindowFromPoint.
...
Removed a few no longer used routines.
2001-06-20 23:16:34 +00:00
Dmitry Timoshkov
a57befe72d
Replace more PROFILE_ functions by RegQueryValueExA.
2001-06-14 19:24:02 +00:00
Bobby Bingham
db4aae2222
Stub implementation of AnimateWindow().
2001-06-06 20:20:09 +00:00
Alexandre Julliard
dc4fe7735b
Create an X window for every window, including children.
...
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Alexandre Julliard
5db8d2f48b
Make WIN_WindowFromPoint take a POINT instead of a POINT16.
...
Small bug fix in scope window handling.
Always check for message when QS_SENDMESSAGE is set.
2001-05-22 19:55:20 +00:00
Alexandre Julliard
4323004bf1
Create an X connection for each thread, and process X events in the
...
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Alexandre Julliard
32ee168200
Use 32-bit hook functions where possible. Cleaned up a couple of
...
16-bit type uses.
2001-05-09 17:33:00 +00:00
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
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
Juergen Schmied
ddb2e291d3
- better stubs for Get/Set special (Progman/Taskman) window functions
1999-05-02 09:19:19 +00:00
Patrik Stridvall
a9a671d7ca
Fixed ANSI compabillity.
1999-04-25 19:01:52 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Eric Pouech
3be8e3b7ff
Properly handling cases like calling SetWindowPos while processing
...
WM_NCCREATE.
1999-04-18 13:13:40 +00:00
Francois Boisvert
71bdc7c851
Check if pTempActiveWindow in WINPOS_SetWindowPos is valid after the
...
QUEUE_Lock.
1999-04-11 11:59:25 +00:00
Alex Korobka
44a1b59cec
Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
...
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Patrik Stridvall
b87fe2e9bf
More code moved to the X11 driver (bitmap and palette and misc).
1999-04-01 08:16:08 +00:00
Francois Boisvert
3a3cd9fab1
Fixed some bugs in thread safeness for wnd struct.
1999-03-28 12:42:52 +00:00
Alex Korobka
4f1ac05dea
Moved hrgnUpdate from client to window coordinates, made nonclient
...
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Francois Boisvert
6b1b41cf85
Made access to the wnd struct thread-safe.
1999-03-14 17:25:32 +00:00
Francis Beaudet
dae09c99a2
Added checks to guard against NULL active window.
1999-02-28 10:01:44 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Ove Kaaven
077c2732b8
Added extra child arguments to DCE_GetVisRgn() to be able to handle
...
PARENTDC class style combined with CLIPCHILDREN window style, to
prevent mis-redraws in Free Agent 16-bit.
1999-02-19 15:27:58 +00:00
Ove Kaaven
6ec132b61a
Resetting X focus should not be done with SetFocus32. Called
...
the windowing (X11) driver's SetFocus routine directly instead.
This apparently fixes a big heap of user interface problems.
1999-02-15 12:46:32 +00:00
Eric Pouech
b9544f159d
Changed some functions prototypes (were returning void).
1999-02-14 14:09:42 +00:00
Francois Boisvert
ae806896cb
Changed SetWindowPos32 to force the update of the non-client area.
1999-02-14 09:18:15 +00:00
Marcus Meissner
65e1f75f58
Some warnings fixed, one useless VERSION warning removed (winelib).
1999-02-13 17:38:16 +00:00
Ove Kaaven
a4e29e5b1d
Don't call EVENT_DummyMotionNotify for hidden windows.
1999-02-13 08:55:28 +00:00
Noel Borthwick
b427856b45
Added management and allocation of the PERQUEUEDATA structure.
1999-02-05 10:37:53 +00:00
Patrik Stridvall
8d8703cb48
Moved some more code to the X11 driver.
1999-02-04 14:05:38 +00:00
Huw D M Davies
1b450209ec
Fix typo in SetWindowPos32.
1999-01-31 09:17:38 +00:00
NF Stevens
114899a9de
In Window SetWindowPos with SWP_HIDEWINDOW does not remove
...
the focus from the focus window; ShowWindow with SW_HIDE does.
So move the code that does this from SetWindowPos to ShowWindow.
1999-01-30 15:49:51 +00:00
Stephane Lussier
1c4786fedf
- Made the message queue access to be thread safe. (Using two new
...
functions to access the message queue, QUEUE_Lock(), QUEUE_Unlock()
instead of GlobalLock16()).
- Fixed QUEUE_DumpQueue (used by "info queue <handle>" with the
wine-debugger).
1999-01-28 10:54:11 +00:00
Alexandre Julliard
638f169b1e
Recovery of release 990110 after disk crash.
...
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00