Dmitry Timoshkov
e37e0f2743
user32: Avoid dereferencing NULL pointer in a trace.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 15:04:07 +09:00
Jacek Caban
3ece2ab7ee
user32: Added debug traces to SetParent.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Dmitry Timoshkov
b08c400fe2
user32: Call the EnumChildWindows callback using a wrapper.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard
e5ef460d7d
user32: Preserve the surface contents when changing the WS_EX_LAYERED bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:43 +09:00
Alexandre Julliard
2e56a912b4
user32: SetLayeredWindowAttributes is no longer a stub.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 00:12:39 +09:00
Sebastian Lackner
19a3f6b5cb
user32: Make sure explorer.exe process is spawned for the correct desktop.
...
If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:55 +09:00
Sebastian Lackner
6bfa3896fc
server: Check winstation visibility in server to avoid race-conditions.
...
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +09:00
Alexandre Julliard
bbc849df8d
user32: Reduce the idle timeout before flushing surfaces to make it less noticeable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +09:00
Alex Henrie
5b53c0b88b
user32: Avoid double initialization.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Jactry Zeng
b007a98e1a
user32: Add driver entry point for FlashWindowEx.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:26 +09:00
Jactry Zeng
f22760d210
user32: Implement semi-stub for FlashWindowEx.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Nikolay Sivov
516b21f4ee
user32: Don't send WM_GETTEXT from GetWindowText() with invalid buffer length.
2015-07-28 09:52:16 +02:00
Nikolay Sivov
ee72b0fdc7
user32: Initialize buffer before sending WM_GETTEXT.
2015-07-28 09:52:13 +02:00
Alexandre Julliard
25d9fc3ecc
server: Check for the current owner window on the server side for releases.
2015-06-03 19:29:49 +09:00
Alex Henrie
5c48752784
user32: Fall back to downscaling the big icon for ICON_SMALL2.
2015-05-14 18:57:26 +09:00
Jacek Caban
da72de967b
user32: Allow making window visible by WM_SETREDRAW message.
2015-03-13 21:53:19 +09:00
Sebastian Lackner
d5ba7451a3
user32: Avoid sending window messages in FindWindowExW.
2014-11-18 22:10:38 +09:00
Hugh McMaster
0fa8ae7b52
user32: Fix spelling in a comment.
2014-09-15 18:25:49 +02:00
Austin English
6458aca761
user32: Add a stub for RegisterTouchWindow.
2014-05-14 11:25:48 +02:00
Stefan Dösinger
ece57889d6
user32: Make SetWindowTextA/W hookable.
2014-03-03 17:46:50 +01:00
Piotr Caban
367577c0d6
user32: Check WS_CHILD style in IsChild function.
2014-02-27 09:51:50 -06:00
Frédéric Delanoy
e7c5c9ae9b
user32: Use BOOL type where appropriate.
2014-02-20 11:18:37 +01:00
Alexandre Julliard
b4b817b907
user32: Only wait for the desktop process when necessary.
2014-01-30 21:49:32 +01:00
Alexandre Julliard
6bf64f0ac2
user32: Fail creation of the desktop window earlier on when it already exists.
2014-01-28 12:51:59 +01:00
Frédéric Delanoy
77ee42fd33
user32: Use BOOL type where appropriate.
2013-11-05 11:15:06 +01:00
Alexandre Julliard
c25c019883
user32: Automatically load comctl32 when one of its classes is requested.
2013-10-28 18:41:04 +01:00
Alexandre Julliard
fe441a0682
user32: Register classes once the graphics driver has been loaded, except for the desktop class.
2013-10-24 19:01:54 +02:00
Alexandre Julliard
7370a56543
user32: Delay registration of the builtin classes until the first window is created.
2013-10-16 17:22:19 +02:00
Qian Hong
26683adf36
user32: Make CreateWindowExA and CreateWindowExW hotpatchable.
2013-05-24 11:06:03 +02:00
Alexandre Julliard
b7bf7f01b3
user32: Avoid releasing a potentially null pointer.
2013-02-11 11:46:13 +01:00
Dmitry Timoshkov
e27801e93b
user32: Make sure that window's normal_rect is initialized at window creation time.
2012-10-15 13:31:09 +02:00
Alexandre Julliard
cc7bf355c5
user32: Add support for setting the window surface visible region.
2012-10-09 15:22:56 +02:00
Alexandre Julliard
cf799f5852
user32: Store the pixel format in the window structure.
2012-10-09 09:51:29 +02:00
Alexandre Julliard
6eea257fd1
user32: Add a helper function to update the window visible state.
2012-10-09 09:48:11 +02:00
Alexandre Julliard
b9c847a426
user32: Don't use SWP_SHOWWINDOW when the WS_VISIBLE style was already toggled manually.
2012-10-09 09:45:09 +02:00
Alexandre Julliard
e41a482890
user32: Add a Wine-specific entry point to set the pixel format of a window.
2012-10-03 23:08:22 +02:00
Alexandre Julliard
b30e84d580
user32: Don't redraw anything when WS_VISIBLE is toggled manually.
2012-10-02 19:52:44 +02:00
Alexandre Julliard
24eee97d21
user32: Add a driver entry point for UpdateLayeredWindow.
2012-10-01 13:20:20 +02:00
Alexandre Julliard
61f9789c31
user32: Also call set_window_pos when the WS_EX_LAYERED bit is changed.
2012-10-01 13:17:40 +02:00
Alexandre Julliard
1d78f43000
user32: Call the SetWindowStyle driver entry point before updating the window position.
2012-10-01 13:12:29 +02:00
Alexandre Julliard
72337011db
user32: Create a dummy window surface for windows that shouldn't be painted to.
2012-10-01 13:08:51 +02:00
Alexandre Julliard
53e4e504b9
user32: Add tests for UpdateLayeredWindowIndirect and fix the behavior of the ULW_EX_NORESIZE flag.
2012-09-27 17:45:43 +02:00
Alexandre Julliard
9f29dcdc2e
user32: Don't send messages on position changes in UpdateLayeredWindow.
2012-09-13 13:50:15 +02:00
Alexandre Julliard
7304445a7e
user32: Maintain a list of active window surfaces and flush them periodically.
2012-09-06 12:38:13 +02:00
Alexandre Julliard
a5ef549c6e
user32: Add support for managing a DIB surface for a window.
2012-09-06 12:35:32 +02:00
Alexandre Julliard
2dc234d923
user32: Only show a window the first time WS_VISIBLE is toggled, to work around Steam's WM_SETREDRAW usage.
2012-09-04 12:38:33 +02:00
Alexandre Julliard
d35fc4369f
user32: Always go through set_window_pos when the WS_VISIBLE style is changed.
2012-08-29 20:09:28 +02:00
Austin English
6f40cb83e9
user32: Make a few more functions hotpatchable.
2012-04-30 20:03:27 +02:00
Dmitry Timoshkov
847317d019
user32: SetParent() should use ShowWindow() to make a reparented window visible and move a window to new position.
2012-04-02 18:35:52 +02:00
Alexandre Julliard
03820a527b
user32: Fix some printf format warnings.
2012-01-17 15:02:51 +01:00
Dmitry Timoshkov
8f565eb6ae
user32: Add more window style tests, make them pass under Wine.
2011-12-07 17:49:59 +01:00
Michael Stefaniuc
1435b5ecd7
include: Make "long" numeric constants LP64/LLP64 proof (winuser.h).
2011-10-31 16:46:22 +01:00
Jacek Caban
ab37b86236
user32: Make GetWindowInfo hotpatchable.
2011-09-12 10:07:34 +02:00
Alexandre Julliard
ee44c7c0f4
user32: Fix coordinates mapping for the desktop window in the explorer process.
2010-12-13 12:43:34 +01:00
Alexandre Julliard
30554d4ef1
user32: Check structure size in GetGUIThreadInfo.
2010-11-16 21:54:03 +01:00
Dmitry Timoshkov
2f0b9dd3bf
user32: FindWindow() should treat an empty title same way as NULL.
2010-10-19 11:00:32 +02:00
Alexandre Julliard
377820e313
user32: Don't rely on the cached position for windows that have a mirrored parent.
2010-10-05 11:01:21 +02:00
Alexandre Julliard
ddaea5456e
user32: Set the default process layout based on the file description in the version resource.
2010-09-24 15:45:54 +02:00
Alexandre Julliard
024521190a
user32: Always store the window rectangles unmirrored after SetWindowPos.
2010-09-23 17:50:10 +02:00
Alexandre Julliard
3f026cafa5
user32: Add support for RTL window layouts in WIN_GetRectangles.
2010-09-22 20:28:20 +02:00
Dmitry Timoshkov
a7188842af
user32: UpdateLayeredWindow() should fail on non-layered or already initialized window.
2010-09-21 20:16:15 +02:00
Alexandre Julliard
72533173d5
user32: Don't try to set the WS_EX_LAYOUTRTL flag on the desktop window.
2010-09-08 13:19:17 +02:00
Alexandre Julliard
ca499d070f
user32: Avoid redundant server call in WIN_GetRectangles and fix the screen coordinates mapping.
2010-09-08 13:15:29 +02:00
Alexandre Julliard
9b693ddadb
user32: Use WIN_GetRectangles where possible instead of mapping coordinates explicitly.
2010-09-07 15:11:24 +02:00
Alexandre Julliard
141defbd54
user32: Use WIN_GetRectangles where possible instead of accessing the window structure.
2010-09-07 14:55:42 +02:00
Alexandre Julliard
7295b6746d
user32: Add support for fetching window rectangles relative to various origins.
2010-09-07 14:31:30 +02:00
Alexandre Julliard
196ec5969d
user32: Implement Get/SetProcessDefaultLayout.
2010-09-02 18:01:01 +02:00
Alexandre Julliard
942866f90d
user32: Make child windows inherit the WS_EX_LAYOUTRTL style from their parent.
2010-09-02 17:55:02 +02:00
Alexandre Julliard
cd79ec79a6
user32: Prevent changing some window styles through SetWindowLong.
2010-09-01 11:13:27 +02:00
Paul Chitescu
bb6769f475
user32: Use a safer method of freeing user handles to prevent zeroing out a newly allocated handle.
2010-06-18 15:22:22 +02:00
Paul Vriens
aef01a24d4
user32: Add another flag to the TRACE().
2010-06-18 15:22:21 +02:00
Alexandre Julliard
d815e582cf
user32: Only skip redraws on MDI child unmaximize if the new child is maximized.
2010-05-28 16:22:26 +02:00
Alexandre Julliard
7bef6dc8b9
user32: Always start the 64-bit version of explorer.exe on Wow64.
2010-03-29 12:26:42 +02:00
Nikolay Sivov
e7c909a1be
user32: Use whole window rectangle for UpdateLayeredWindow.
2010-02-24 16:02:57 +01:00
Nikolay Sivov
62019e6d3a
user32: Intersect with passed dirty rectangle while blitting.
2010-02-24 15:12:30 +01:00
Bernhard Übelacker
8d127f3a81
user32: Don't hide the window in SetParent when window and parent are equal.
2010-02-05 13:14:45 +01:00
Michael Stefaniuc
adc6b60f17
user32: Don't print the function name twice in a FIXME.
2010-02-04 13:39:28 +01:00
Alexandre Julliard
48c8c8d7bd
user32: Add a safety check in release_user_handle_ptr.
2010-02-03 13:54:01 +01:00
Alexandre Julliard
2ea73fd709
user32: Remove the no longer needed WIN_ISDIALOG flag.
2009-12-23 21:13:58 +01:00
Alexandre Julliard
5e640271f2
user32: Remove the no longer used WIN_ISWIN32 flag.
2009-12-23 21:10:59 +01:00
Alexandre Julliard
b201a41edf
user32: Export the WIN_GetFullHandle function through the WoW handlers.
2009-12-23 19:34:58 +01:00
Alexandre Julliard
ce50559013
user32: Send all CreateWindow calls through the WoW wrapper to allow mapping 16-bit instances.
2009-12-21 15:00:35 +01:00
Alexandre Julliard
77ab435402
user32: Make WINPROC_AllocProc take a unicode flag for consistency with the other winproc functions.
2009-12-18 12:41:59 +01:00
Alexandre Julliard
15000f32b6
user32: Move the 16-bit menu functions to user16.c.
2009-12-17 15:04:21 +01:00
Alexandre Julliard
8494682f2d
user32: Move 16-bit window creation functions to 16-bit files.
2009-12-17 15:03:32 +01:00
Alexandre Julliard
4b3c0e31d0
user32: Use W structures in window creation code.
2009-12-17 15:00:38 +01:00
Alexandre Julliard
bfcfe437e2
user32: Move loading of the 16-bit window menu to CreateWindowEx16.
2009-12-17 14:48:06 +01:00
Alexandre Julliard
aabe5f150f
user32: Move 16-bit instance normalization to CreateWindowEx16.
2009-12-17 14:36:26 +01:00
Alexandre Julliard
87ede8949a
user32: Get rid of the EDIT_winproc_handle variable.
2009-12-17 13:09:50 +01:00
Alexandre Julliard
9727750c79
user32: Move Get/SetWindowLong16 implementation to wnd16.c.
2009-12-14 12:04:02 +01:00
Nikolay Sivov
1b96626750
user32: Free window text to prevent leak in case when WM_NCDESTROY doesn't get to default procedure.
2009-11-16 15:01:22 +01:00
Alexandre Julliard
5950c6af80
user32: Specify the full application path when starting builtin apps.
2009-10-27 11:22:38 +01:00
Alexandre Julliard
1b27890af6
user32: Fix the return value of EnumThreadWindows.
2009-10-23 15:54:07 +02:00
Nikolay Sivov
77fe22b226
user32/win: Release scroll window data on window destruction.
2009-10-21 16:05:59 +02:00
Alexandre Julliard
5db3e7d43e
user32: Set last error in WIN_GetRectangles.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
4bb95f4d0f
user32: Use the generic handle functions for windows too.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
d996f7e334
user32: Add functions for manipulating client-side user handles.
2009-10-12 17:07:04 +02:00
Alexandre Julliard
e3b395ff2c
user32: Run the explorer process from the system directory.
2009-08-20 19:43:29 +02:00
Alexandre Julliard
95f8371a16
user32: Use a simplified sequence to destroy windows at thread exit, since we don't want to send messages.
2009-06-03 11:30:29 +02:00
Rein Klazes
1b1e0027db
user32: Combine horizontal and vertical window scroll bar info in a single structure.
2009-05-04 14:57:03 +02:00