Alexandre Julliard
805bdc53e8
Store the window caption text in the server.
...
Maintain a paint count separately for each window.
2001-11-13 22:23:48 +00:00
Dmitry Timoshkov
5d3e1f70bd
Add dumping of window styles at the window creation time.
2001-11-07 21:52:24 +00:00
Alexandre Julliard
96ebfa983b
Cosmetic fixes.
2001-10-23 20:35:44 +00:00
Alexandre Julliard
55557319a7
A couple of optimizations.
2001-10-23 00:26:10 +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
Andreas Mohr
e15badb478
Cosmetics.
2001-10-21 15:18:15 +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
Alexandre Julliard
844ceb98ba
Store window class atom in the server.
...
Keep unlinked windows on a separate list.
Implemented inter-process FindWindow().
2001-10-09 23:26:40 +00:00
Gerard Patel
94ce2a3303
Map a window if it is shown by a direct style change.
2001-10-03 18:44:02 +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
a09da0cbbd
Added proper support for storing window parents in the server.
...
Added a few requests to query the window hierarchy.
2001-09-21 21:08:40 +00:00
Alexandre Julliard
536957eb31
Fixed a couple of bugs in WIN_SetWindowLong caused by previous
...
change.
2001-09-19 22:31:15 +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
Alexandre Julliard
0d92fe20cd
Make sure that returned window belongs to correct thread when checking
...
siblings of transparent windows in WIN_FindWinToRepaint.
2001-09-10 23:26:42 +00:00
Patrik Stridvall
3c9ab8f62d
The message handler of WM_STYLECHANGING is supposed to be able to
...
modify the proposed style if it wishes.
2001-09-10 23:09:46 +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
de42428f23
Removed a number of direct accesses to the WND structure, replacing
...
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard
cb25e2506f
Replace SendMessage16 by SendMessageW where possible.
2001-08-08 23:28:42 +00:00
Alexandre Julliard
8afe6628f8
Avoid using GetFastQueue16 from USER.
2001-07-26 20:12:22 +00:00
Bill Medland
3f68bc911d
Additional modifications to the window styles during window creation.
2001-07-20 18:36:25 +00:00
Alexandre Julliard
ed15fc7de1
Moved ForceWindowRaise to the USER driver and removed the WND driver.
2001-06-29 01:26:41 +00:00
Patrik Stridvall
17fd4e3816
Documentation name fixes.
2001-06-28 18:04: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
Dmitry Timoshkov
a57befe72d
Replace more PROFILE_ functions by RegQueryValueExA.
2001-06-14 19:24:02 +00:00
Gerard Patel
ad363030a1
Use a flag to test if create structure is unicode.
2001-06-06 21:26:50 +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
51ab43bd13
Moved the major part of message queue and window timer handling into
...
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +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
e60ccd11d3
Create a new window for the top popup menu on every new menu tracking,
...
so that the window belongs to the right thread.
2001-05-11 20:05:42 +00:00
Alexandre Julliard
b19c57ca71
Fixed reparenting to desktop (found by Gerard Patel).
2001-05-10 21:06:56 +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
Alexandre Julliard
66ffa17b10
Don't use THREAD_IdToTEB in EnumThreadWindows.
2001-04-04 18:32:14 +00:00
Dmitry Timoshkov
dc830b5415
Get and print class name for right window in WIN_WalkWindows.
2001-03-28 18:46:08 +00:00
Alexandre Julliard
26320d1f75
Cleanup properly on x11drv unloading.
...
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +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
Eric Kohl
ca6c9a6a20
Added stubs for GetWindowsModuleFileName[A/W].
2001-03-20 01:53:51 +00:00
Dmitry Timoshkov
91adf0aa4e
Added unicode MDI client window proc.
2001-02-12 03:40:41 +00:00
Patrik Stridvall
0c61028734
Documentation ordinal fixes.
2001-01-25 22:22:21 +00:00
Alexandre Julliard
8bb7fb960c
Fixed a number of incompatibilities in OEM icons/cursors handling.
2001-01-20 02:48:30 +00:00
Alexandre Julliard
7d5bc5c3f9
Removed some direct accesses to the 16-bit task structure.
2001-01-15 20:09:09 +00:00
Joerg Mayer
2563b1b732
Warn when FindWindow needs to check other processes windows.
2000-12-22 20:29:41 +00:00
Patrik Stridvall
2ece70e77b
Various documentation fixes.
2000-12-22 01:38:01 +00:00
Alexandre Julliard
5801723b50
Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16.
2000-12-22 01:09:26 +00:00
Gerard Patel
ef456af6e5
Don't return last active popup if it is pointing to a deleted window.
2000-12-15 21:29:13 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +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
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Dmitry Timoshkov
5956b986d9
Slightly rearrange WIN16/WIN32A/WIN32 window creation.
2000-11-28 23:53:08 +00:00
Alexandre Julliard
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +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
Alexandre Julliard
1f029ea6f5
Authors: Gerard Patel <g.patel@wanadoo.fr>, Marcus Meissner <marcus@jet.franken.de>
...
Move focus recalculation out of the window destroy recursion
so we do not send WM_SETFOCUS to already destroyed windows.
2000-11-02 20:08:59 +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
Alexandre Julliard
0ff083bab8
Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
...
Farnum).
2000-09-24 19:51:15 +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
42d20f9dca
Merged clipboard driver into USER driver.
...
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
646c562f9c
Cleaned up some more USER dependencies.
2000-07-31 23:32:47 +00:00
Huw D M Davies
a14ca868d0
Initialize hrgnWnd.
2000-07-29 11:31:29 +00:00
Gerard Patel
72b93d47f0
Allow SetWindowLong(... GWL_STYLE) to change visible bit.
2000-07-15 19:42:52 +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
Lawson Whitney
68dd679043
Moved zero-sized window hack to x11drv.
2000-06-25 12:53:27 +00:00
Alexandre Julliard
6aa2843fa9
Yet another attempt at fixing CW_USEDEFAULT handling.
2000-06-08 01:01:09 +00:00
Alexandre Julliard
5e9dab58da
The window dimensions have to be initialized before sending the
...
WM_GETMINMAXINFO message.
2000-06-07 02:03:19 +00:00
Gerard Patel
78f52b5681
Set a default size for windows when CW_USEDEFAULT is used.
2000-05-31 19:23:20 +00:00
Alexandre Julliard
9baa51e1c0
Use GetStartupInfoA() instead of accessing process structure
...
directly.
2000-05-30 19:46:58 +00:00
Alexandre Julliard
b8774f95e5
Serge Ivanov
...
SetParent: call SetWindowPos with SWP_NOACTIVATE flag set.
2000-05-30 17:50:41 +00:00
Guy Albertelli
38db0980c5
Clear menu handle after destroying menu.
2000-05-11 00:06:38 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Alexandre Julliard
7f3418fba0
Store monitor size and depth in the generic structure.
...
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard
d6c0d8642c
Moved gdi/user thunking functions into their respective dlls.
...
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Alexandre Julliard
28c3a1baf3
Moved graphics initialisation to the x11drv/ttydrv dll init code.
...
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Alexandre Julliard
4f15239c3a
ATOMs are considered unique, so we don't need to check class
...
pointers in FindWindow.
2000-02-25 20:45:23 +00:00
Andreas Mohr
1c20b39fa5
- fixed my slightly incorrect EndDialog patch
...
- cleaned up win.c
2000-02-20 19:17:35 +00:00
Noomen Hamza
ff72776e55
Popup windows will be hidden when minimizing the main frame.
2000-02-18 19:11:04 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +00:00
Gerard Patel
6fdb5ddc0c
Do not use GlobalFindAtom with atom handles in CreateWindow* functions.
2000-02-16 21:23:24 +00:00
Alexandre Julliard
b849d79104
Moved global atoms to the server (based on the work of Sergei
...
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +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
Alexandre Julliard
f1f68312e7
Fixed potential buffer overflows (spotted by Francois Gouget).
2000-01-01 22:22:21 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies
238b6d7040
Fixed a couple of compiler warnings.
1999-10-31 01:56:51 +00:00
Uwe Bonnes
7361916dd3
Warn users to use -the -desktop option together with the native user DLLs.
1999-10-24 20:42:39 +00:00
Rein Klazes
d4a2ceede0
Use the module handle, if CreateWindowEx is called with
...
hInstance==NULL.
1999-10-23 13:57:36 +00:00
Noomen Hamza
a018d8508f
Rewrite the ShowOwnedPopups function with a safety algorithm.
1999-09-28 16:26:09 +00:00
Abey George
48c6eb55f7
Fixed resizing bugs for windows with WS_THICKFRAME and WS_DLGFRAME
...
styles.
1999-09-03 12:33:40 +00:00