Alexandre Julliard
7695d69046
A couple of optimizations to avoid some server calls in WIN_FindWndPtr
...
and related functions.
2001-09-24 01:19:59 +00:00
Alexandre Julliard
d23a82bc86
Made all 16<->32 HWND conversions use explicit functions instead of
...
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard
37a4639ee1
Make sure that functions returning an HWND always return a full 32-bit
...
handle.
2001-09-12 17:19:13 +00:00
Alexandre Julliard
6bf2abfab1
Make window handles 32-bit before calling window procedure.
...
Don't clear window parent field when unlinking it.
2001-08-29 00:16:00 +00:00
Alexandre Julliard
1a66d226eb
Added global management of user handles in the server.
...
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Alexandre Julliard
9d9dac0947
Added WIN_ListParents function and renamed WIN_BuildWinArray into
...
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard
0801ffc5a3
Implemented GetAncestor and removed WIN_GetTopParent.
...
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard
fa42aa81e4
Removed WIN_GetDesktop().
2001-08-21 17:13:55 +00:00
Alexandre Julliard
4ff32c8aef
Removed a number of direct accesses to the window structure.
2001-08-18 18:08:26 +00:00
Alexandre Julliard
6837b9c119
Moved user lock to user.c. Added USER_CheckNotLock function.
2001-08-16 18:14:22 +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
4b0343dc5f
Moved queue paint count to the server. Removed a few no longer used
...
routines.
2001-06-20 22:55:31 +00:00
Alexandre Julliard
0b16474c2a
Removed WIN_NATIVE flag.
2001-06-08 19:00:56 +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
e3fe9f24ce
Moved ScrollWindowEx implementation to the graphics driver.
2001-05-10 03:23:59 +00:00
Alexandre Julliard
3abeae8f4a
Moved window move/resize syscommand handling to the graphics driver.
2001-05-09 17:21:04 +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
Dmitry Timoshkov
06e735d2ec
Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode
...
API calls.
2001-01-26 00:19:33 +00:00
François Gouget
44a182229b
winuser.h now requires that we include winbase.h first.
2000-12-19 04:53:20 +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
9877906b26
Removed dependencies on the internals of the CLASS structure.
...
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Susan Farley
557066db1c
Status bars on managed windows should not have SIZEGRIP style.
2000-10-13 17:07:08 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Louis Philippe Gagnon
06057e7aac
- Separate application calls to ShowOwnedPopups from Wine calls (in
...
EVENT_MapNotify) by introducing an internal function.
- Fix ShowOwnedPopups so it sends messages with the same parameters as
in Windows.
2000-08-20 03:40:59 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +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
Dmitry Timoshkov
04da8b8f28
Convert WND.text field to Unicode.
...
Add new key to wine.ini in the section [x11drv] - TextCP, which means
code page used for texts passed to X.
Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT.
2000-07-10 12:09:31 +00:00
Susan Farley
9ce8382ea0
Set and retrieve the window icon that is drawn under managed mode
...
(based on the work of Andrew Lewycky for Corel).
2000-05-23 04:12:23 +00:00
Patrik Stridvall
6cc47d4924
Removed a lot of unnecessary includes and fixed the compile errors.
2000-03-08 18:26:56 +00:00
Noomen Hamza
ff72776e55
Popup windows will be hidden when minimizing the main frame.
2000-02-18 19:11:04 +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
Sylvain St-Germain
00bf3811ae
Fixed inconsistency in conditions that determines if a window requires
...
a WM border.
1999-07-24 12:11:22 +00:00
Francis Beaudet
c37dd06f78
Delay WM_NCPAINT message until the "painter's algorithm" kicks in.
1999-07-18 15:38:29 +00:00
Marcus Meissner
623c0d6f94
some small include fixes, some checks for NULL ptrs,
...
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Marcus Meissner
d7c565f5de
Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
...
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +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
Ulrich Weigand
ef61c0b632
Initialize WIN_CritSection earlier.
1999-05-08 09:45:50 +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
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
Marcus Meissner
6b9dd2e098
Lots of warning fixed, one missing WINAPI in ddraw.c added.
1999-03-18 17:39:57 +00:00
Francois Boisvert
6b1b41cf85
Made access to the wnd struct thread-safe.
1999-03-14 17:25:32 +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
Francois Boisvert
93e3f905c8
Adding of new functions to make the wnd struct thread safe. Adding of
...
irefCount in wnd struct.
1999-02-25 17:32:31 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +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