Commit Graph

254 Commits (fb36140adb8fb1caac0a9cec5596bffdf066d781)

Author SHA1 Message Date
Alexandre Julliard d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Alexandre Julliard e4e5566edb Avoid a few more uses of WIN_FindWndPtr. 2005-01-27 10:47:28 +00:00
Alexandre Julliard d7ba12c77a Max tracking size in WM_GETMINMAXINFO should take into account the
window frame.
2005-01-21 17:03:41 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alexandre Julliard 149b6e38c9 Small optimization in WINPOS_GetWinOffset. 2005-01-17 13:50:00 +00:00
Huw Davies 2e51a04a8d Don't touch the rect if hwnd is invalid. 2005-01-04 20:33:22 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Alexandre Julliard 807fe07417 Don't bother to return partial region data in get_window_region and
get_visible_region, return STATUS_BUFFER_OVERFLOW instead.
2004-09-17 18:20:11 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Alexandre Julliard 1191f0576c Get rid of window region on the client side. 2004-07-20 22:25:16 +00:00
Alexandre Julliard 4616dcb9a7 Moved the WindowFromPoint functionality to the server so that we can
properly take into account the window region.
2004-07-20 22:17:38 +00:00
Alexandre Julliard 618a7e5813 Added support for window regions in the server. 2004-06-29 03:53:25 +00:00
Dmitry Timoshkov 80422fb830 Make WM_GETMINMAXINFO default behaviour more like the Windows one. 2004-05-07 00:41:32 +00:00
Steven Edwards cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Dmitry Timoshkov dfa1f6a82a Initialize MinMax.ptReserved, use better defaults for child windows. 2003-10-24 04:22:11 +00:00
Alexandre Julliard 8d174d3f47 Store the global shell, progman and taskman windows in the server
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Daniel Marmier 0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +00:00
Tony Lambregts 7ce3a5ad63 Replace DPRINTF with TRACE. 2003-03-14 04:11:17 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Alexandre Julliard c07a6cf537 Fixed ShowWindowAsync. 2002-10-29 21:33:00 +00:00
Alexandre Julliard 48f860cbd9 Moved a few remaining 16-bit window functions to wnd16.c and moved it
to the C_SRCS16 sources.
2002-10-28 19:04:39 +00:00
Alexandre Julliard 5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Dmitry Timoshkov 85350c8c95 Dump SetWindowPos flags. 2002-08-27 01:14:44 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andreas Mohr 284bcfcff4 Fixed a memory leak in find_child_from_point(). 2002-05-28 22:47:01 +00:00
Alexandre Julliard 07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
François Gouget 392f6f8775 Replace some SendMessage with SendNotifyMessage in case the target
window belongs to another thread.
2002-04-06 00:40:41 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dave Hawkes 5d6aacc1d5 Altered the algorithm for selecting a new focus after a window is
destroyed that currently has the focus.
2001-12-17 21:19:54 +00:00
Alexandre Julliard 5797fbb87e Added WIN_GetRectangles function.
Fixed WindowFromPoint to work accross processes.
2001-12-06 22:33:58 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard 03e07b56e3 Window activation cleanups. 2001-11-06 22:28:18 +00:00
Joshua Thielen e0f0a2ebbf Switch focus to activated window even if no window previously had the
focus.
2001-10-24 02:43:24 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Bill Medland 3d4d0862bb Only modify the ancestor if you find it. 2001-10-17 19:35:36 +00:00
Alexandre Julliard fb0ff053c0 Added internal Wine messages to perform SetWindowPos, ShowWindow and
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard 80593bf842 Removed next and child fields in the window structure and use
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard 556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
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 f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +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