Dmitry Timoshkov
39f960bdfa
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
...
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +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
e4e5566edb
Avoid a few more uses of WIN_FindWndPtr.
2005-01-27 10:47:28 +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
6382ffae2a
Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr.
2005-01-20 20:07:42 +00:00
Ulrich Czekalla
03ffadc499
Handle case when only height is set to CW_USEDEFAULT.
2005-01-19 20:54:25 +00:00
Alexandre Julliard
932338890f
Removed no longer used WIN_InternalShowOwnedPopups function.
2005-01-19 17:03:57 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +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
e0db46c4aa
Get rid of the client-side window timer structures.
2004-11-29 18:18:02 +00:00
Alexandre Julliard
648994c3ef
Changed winproc allocation to be based only on the procedure address,
...
to avoid the need to keep track of winprocs for each window and class.
2004-11-24 18:43:18 +00:00
Dmitry Timoshkov
5736111c83
Protect USER32 against early graphics driver unloading.
2004-10-18 21:25:26 +00:00
Robert Shearman
bbdac5e475
GetWindowLong -> GetWindowLongPtr.
2004-09-22 19:14:08 +00:00
Dmitry Timoshkov
a1ccb921bd
Make message flow for MDI creation/activation/destruction more like in
...
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Dmitry Timoshkov
2abf2c7aa5
Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
...
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Steven Edwards
4d563e0195
Added stub for SwitchDesktop.
2004-09-14 19:29:11 +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
Ulrich Czekalla
e32e1f0598
EnableWindow should not remove the focus of child windows.
2004-06-03 00:08:55 +00:00
Alexandre Julliard
ed8a41c7b5
Only allocate even-numbered window handles, MS Project depends on that
...
(found by Dmitry Timoshkov).
2004-05-28 19:35:37 +00:00
Dmitry Timoshkov
f2616c5617
Only child windows receive WM_SHOWWINDOW in DestroyWindow() under
...
Windows.
2004-05-18 00:48:52 +00:00
Dmitry Timoshkov
f74516843f
- Add a test for GetWindowInfo, it should not check cbSize member of
...
the WINDOWINFO structure.
- Add tests for window state at the time the system calls
HCBT_CREATEWND (failing under Wine at the moment).
2004-05-11 22:17:19 +00:00
Dmitry Timoshkov
0ad1a6c6dd
Setting WS_VISIBLE style does not require any special handling.
2004-04-02 20:12:38 +00:00
Dmitry Timoshkov
970be6477c
WM_PARENTNOTIFY should not be sent to WS_POPUP windows.
2004-04-02 20:10:11 +00:00
Dmitry Timoshkov
d5a1e761ee
Make DestroyWindow() not mess with a window focus, this should be
...
taken care of by ShowWindow(SW_HIDE).
Add a test for DestroyWindow() on a focused child.
2004-03-26 01:06:15 +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
9b24af8acb
Add a test case and a fix for the window styles state at the window
...
creation time.
2004-02-06 05:18:56 +00:00
Alexandre Julliard
417bcb35a2
Fixed 16-bit MDI support (based on a patch by Dmitry Timoshkov).
2004-01-28 21:43:36 +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
Mike Hearn
9a1e0a097e
Prevent false matches in WIN_FindWindow.
2003-12-30 19:09:50 +00:00
Alexandre Julliard
bd13ab8d78
Store a pointer to the client-side class structure in the server and
...
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Alexandre Julliard
bfce151ae5
Added window classes in the server, and support for inter-process
...
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Alexandre Julliard
ebf1243ec1
Added support for inter-process GetWindowWord.
...
Do better range checking on the window extra bytes.
2003-12-10 01:34:51 +00:00
Alexandre Julliard
97903d260b
Added support for inter-process GetWindowLong on the window extra
...
bytes.
2003-11-26 22:15:41 +00:00
Alexandre Julliard
b7976c00a0
Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
...
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Rein Klazes
d7484a8a57
Use the extended window style for the previous style in the style
...
changing/changed messages if WIN_SetWindowLong is called with
GWL_EXSTYLE.
2003-10-21 23:42:02 +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
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Mike McCormack
0e27c979a6
Stub implementation of FlashWindowEx.
2003-08-12 20:33:26 +00:00
Dmitry Timoshkov
cb84de9851
Make GetWindowInfo() work for all windows and return correct values.
2003-08-05 18:26:28 +00:00
Ulrich Czekalla
b2df5f9f19
- use global atoms for the format ids
...
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
didn't own the selection but they did and as a result queried
themselves for available selection data
2003-06-23 23:02:02 +00:00
Aric Stewart
6fcf40197c
Simple optimization in EnableWindow.
2003-06-23 20:02:01 +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