Commit Graph

158 Commits

Author SHA1 Message Date
Andrew Talbot
7c6ef46cb9 include: Replace inline static with static inline. 2007-03-26 12:19:34 +02:00
Alexandre Julliard
81c1472449 user32: The per-window user data must be a DWORD_PTR. 2006-10-04 21:49:11 +02:00
Alexandre Julliard
2c2299685f user: Implementation of Get/SetWindowLongPtr for 64-bit platforms.
Also use the same code for Get/SetWindowWord.
Based on a patch by Ge van Geldorp.
2006-08-02 21:59:00 +02:00
Dmitry Timoshkov
b2686ad2dd include: Move appropriate parts of winpos.h to winuser.h and win.h,
remove winpos.h afterwards.
2006-06-29 14:48:42 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
ef74193949 user: Add a WIN_ISUNICODE flag instead of relying on the winproc type.
Also fix the initial value for the server is_unicode flag.
2006-05-10 12:55:36 +02:00
Alexandre Julliard
ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard
8c518808b8 Put in place the basic infrastructure to allow supporting multiple
desktop windows.
2005-07-08 11:37:40 +00:00
Alexandre Julliard
d99df2b757 Only reset the clip region in GetDC() if a new region is specified.
Don't release the clip region for window DCs in ReleaseDC(), except
when called from EndPaint().
Added a bunch of tests.
2005-03-30 10:28:58 +00:00
Alexandre Julliard
2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard
4d32a475a8 Replace the link_window request by a set_parent request since that is
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00
Alexandre Julliard
039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard
04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Alexandre Julliard
aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Dmitry Timoshkov
032d6aa234 Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT
when creating MDI children. Add a test case for the desired
behaviour.
2005-02-02 09:33:58 +00:00
Alexandre Julliard
e204874728 Removed the no longer used WIN_SetExStyle function. 2005-02-01 18:54:51 +00:00
Alexandre Julliard
932a65dddc WIN_ListParents no longer needs to be exported, make it static. 2005-01-31 16:46:47 +00:00
Alexandre Julliard
d56ccaa7e1 Use an X context to associated the x11drv private window data to a
window handle instead of accessing the WND structure directly.
2005-01-28 17:25:50 +00:00
Alexandre Julliard
f936428601 Make WIN_SetStyle more thread-safe by specifying the bits to change
instead of the new value.
2005-01-21 10:32:13 +00:00
Alexandre Julliard
932338890f Removed no longer used WIN_InternalShowOwnedPopups function. 2005-01-19 17:03:57 +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
Alexandre Julliard
5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Alexandre Julliard
bcb1f8fe05 Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Alexandre Julliard
92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Alexandre Julliard
1191f0576c Get rid of window region on the client side. 2004-07-20 22:25:16 +00:00
Huw Davies
14743a0f3b SetMenu should always call SetWindowPos whether the window is visible
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Dmitry Timoshkov
dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +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
Dimitrie O. Paun
53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Alexandre Julliard
d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +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
Michael Stefaniuc
ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Alexandre Julliard
d8bbcb2f23 Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Alexandre Julliard
0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard
11e3523949 Rewrote caret implementation to store the information in the server. 2002-10-17 01:24:33 +00:00
Alexandre Julliard
0b850f9f74 Reimplemented GetLastActivePopup to get the information from the
server.
2002-10-12 01:23:05 +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
Alexandre Julliard
7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Dimitrie O. Paun
326021bd98 Small cleanups, updated documentation. 2002-09-24 18:26:42 +00:00
Michael Stefaniuc
2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +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
Alexandre Julliard
5797fbb87e Added WIN_GetRectangles function.
Fixed WindowFromPoint to work accross processes.
2001-12-06 22:33:58 +00:00
Alexandre Julliard
47f9821817 Moved WIN_FindWinToRepaint functionality to the server. 2001-11-14 21:28:36 +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
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
8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Alexandre Julliard
7a2017dd65 Store window properties in the server. Moved property.c to dlls/user. 2001-10-12 19:10:26 +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