Hugh McMaster
e7e33aecb3
user32/tests: Add some expected WPARAM values to the SetFocusComboBox sequences.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 23:30:53 +09:00
Piotr Caban
7b3c7af813
user32: Test error returned in out of timers case.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:27:00 +09:00
Anton Baskanov
9220556560
user32: Correctly update caret state in the server in SetCaretPos.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 18:27:31 +09:00
Alexandre Julliard
fcc977c139
server: Store the desktop object names inside their window station.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:40:58 +09:00
Alexandre Julliard
546289dc59
server: Create window stations objects in a standard directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:02:03 +09:00
Jactry Zeng
e632187b19
user32/tests: Fix a leak.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:37:34 +09:00
Carlo Bramini
8d0d1e563c
user32: Remove unused variables in SCROLL_TrackScrollBar.
...
Signed-off-by: Carlo Bramini <carlo.bramix@libero.it>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 23:55:47 +09:00
Hugh McMaster
1f37225a72
user32/tests: Use 'start' and 'end' variables in test comparisons.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 01:44:52 +09:00
Thomas Faller
4e7a7d01ff
dde: Fix use-after-free.
...
Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 16:06:44 +09:00
Hugh McMaster
ad1d215774
user32/tests: Add tests for EM_SETSEL and getting/losing focus in combo boxes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:30 +01:00
Hugh McMaster
75d95f6886
user32/tests: Add message tests for EM_SETSEL when getting/losing focus in combo boxes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 15:51:58 +01:00
Qian Hong
43197e6641
user32: Properly handle WM_DEVICECHANGE in is_pointer_message().
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 17:27:52 +01:00
Qian Hong
81bd72640b
user32/tests: Add tests for WM_DEVICECHANGE message.
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:17:41 +01:00
Nikolay Sivov
69ec6f226e
user32/tests: One more activation context test for interthread SendMessage.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:17:35 +01: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
Alexandre Julliard
5095ee32af
user32: Fix WS_EX_DLGMODALFRAME handling in AdjustWindowRect and add more tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:30:56 +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
8c4a785daf
user32/tests: Add test to check ObjectNameInformation for desktop objects.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:33 +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
c92ba78899
user32/tests: Also ignore WM_SYSTIMER messages in input tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 22:16:12 +09:00
Alexandre Julliard
80193a6c68
user32/tests: Maximized windows can be full-screen in recent Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 21:38:30 +09:00
Hugh McMaster
c87a78bc94
user32/tests: Add tests for VK_SPACE, Shift-Space and Ctrl-Space.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 21:10:22 +09:00
Gerald Pfeifer
1e803cb1df
user32: Avoid shift overflow in nulldrv_GetKeyboardLayoutList.
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:51 +09:00
Andrey Gusev
8bfc9bd2ee
Assorted typos fixes.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +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
Alexandre Julliard
023af7c3cb
user32/tests: Fix a few msg test failures on Windows 7.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:50 +09:00
Alexandre Julliard
5e38c8743d
user32/tests: Fix a few more menu test failures on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:50 +09:00
Nikolay Sivov
19d29f3ca5
user32: Don't overwrite 'cb' field with uninitialized data in DdeQueryConvInfo() (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 22:58:44 +09:00
Nikolay Sivov
119d97e8d7
user32/tests: Some tests for SetScrollInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 13:25:31 +09:00
Bruno Jesus
ecd814cca5
user32: Don't add scroll bars to mdiclient if the window style doesn't allow it.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 19:26:16 +09:00
Dmitry Timoshkov
c482cda1b6
user32/tests: Add some tests for mdiclient scrolling.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 19:26:11 +09:00
Nikolay Sivov
5ab2999fbb
user32/tests: Relax iCaptionWidth test to fix some failures.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 12:25:44 +09:00
Alexandre Julliard
c82626a4c1
user32: Add workaround for removed SC_TASKLIST system menu item.
...
Word 95 assumes that the item exists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Alexandre Julliard
8693805431
user32/tests: Fix a test that assumes that a menu handle is invalid.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:14 +09:00
Dmitry Timoshkov
c0de7f8641
user32: Menu item with a "magic" bitmap should not have MFT_BITMAP type set.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:15 +09:00
Dmitry Timoshkov
5ef96fd5bc
user32/tests: Add more tests for mixed menu with strings and bitmaps.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:13 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Austin English
230217e4d2
user32: Use winediag debug channel for some error messages.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 10:58:40 +09:00
Andrew Eikum
c465209cc1
user32: Use font default height if GetTextExtentPoint returns empty rectangle.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 21:32:56 +09:00
Nikolay Sivov
f7468386a7
user32/tests: Use separate test window for each scrollbar test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:58 +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
Alex Henrie
6771fa22e9
user32: Remove redundant check for buf's existence.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Alex Henrie
4a3065c5d7
user32: Turn magic values into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Huw Davies
e79684874d
user32: Restore the dc's colours after sending WM_DRAWITEM.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:24 +09:00
Stefan Dösinger
ccf430eb52
user32: Silently ignore temporary foreground loss.
...
The basic problem is this: Thread A has a window W1 that is it's focus
window and the system-global foreground window. At some point thread A
stops processing messages. After that, thread B creates a window W2
and makes it the foreground window. Thread B later on makes W1 (from
Thread A) the foreground window again. After restoring W1 as the
foreground window, Thread A processes window messages again. Two
WM_WINE_SETACTIVEWINDOW messages are in the queue, one for losing the
foreground thread propery and one for restoring it. The first one will
generates a WM_ACTIVATEAPP(0) message, which causes D3D to minimize
the game window.
The included test shows that Windows doesn't deliver any
WM_ACTIVATEAPP messages if the thread stopped being the foreground
thread and re-gained that property between two message processing
calls. It isn't implemented with a plain WM_ACTIVATEAPP filter, the
manually injected message in the test still gets through.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:53 +09:00
Dmitry Timoshkov
12111d8c3b
user32/tests: Add some tests for WM_MDIGETACTIVE.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:05:16 +09:00
Dmitry Timoshkov
2e8166ec0e
user32/tests: Move MDI tests out of the WM_CREATE handler.
...
This helps to avoid side effects of the not yet finished window creation
process.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:05:06 +09:00
Nikolay Sivov
8b353f5409
user32: Added a GetDisplayConfigBufferSizes stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 16:16:54 +09:00
Alex Henrie
a3e4c69419
user32: Release capture before sending WM_COMMAND.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:07:56 +09:00
Dmitry Timoshkov
0fe60f83d2
user32: Always call BeginPaint/EndPaint when handling a WM_PAINT message for the button.
...
Python 3.5 installer creates windows with class "Button" that have 0x000e
button style, that causes infinite painting loops and inability to draw
the installer UI.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Nikolay Sivov
83a652a9d4
include: Add a couple of documented Toolbar messages definitions.
...
Thanks to Alan Feldman for pointing this out.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 12:20:56 +09:00
Joachim Priesner
0fc1753444
user32: msgbox: Rearrange buttons for correct tab order.
...
Tab order is the order of the controls in the dialog template, so
arrange them in a way that buttons appear in the correct order for all
possible combination of buttons (specified by the MB_* constants).
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:21 +09:00
Joachim Priesner
217fe9cfad
user32: msgbox: Make buttons an own control group.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:21 +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
Jactry Zeng
d2d114190c
user32/tests: Add tests for FlashWindow.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Sebastian Lackner
240cf96235
user32: Use RtlIsCriticalSectionLockedByThread to check lock owner.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:47:42 +09:00
Joachim Priesner
175e714656
user32: Hide horizontal Listbox scroll bar if no horizontal extent is set.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
2015-10-07 21:28:55 +09:00
Michael Müller
2be56fdc95
user32: Ignore lParam argument of WM_SIZE message for edit control.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-06 22:18:49 +09:00
Sebastian Lackner
e4a3cd60df
user32/tests: Add a test for sending WM_SIZE message to edit control.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-06 22:18:30 +09:00
Alex Henrie
7bbcc766ef
user32: Pass num_steps=0 to alloc_icon_handle if is_ani=FALSE.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:57 +09:00
Alex Henrie
9c750bb956
user32: Remove unused parameter mask from create_alpha_bitmap.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:46 +09:00
Alex Henrie
be5015fb74
user32: Remove unused parameter istep from release_icon_frame.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:35 +09:00
Alex Henrie
d687512674
user32: Move misplaced break statement.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:17:23 +09:00
Alex Henrie
64e63f4550
user32: Remove always-false condition.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-06 22:16:37 +09:00
André Hentschel
83bfda7caf
user32/tests: Allow tracing in menu tests.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-02 18:11:31 +09:00
Alex Henrie
a66f4e521c
user32: Remove unused variable ani_icon_data from release_icon_frame.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-02 18:11:30 +09:00
Alex Henrie
50403fec1e
user32: Replace release_icon_ptr with release_user_handle_ptr.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2015-10-02 18:11:30 +09:00
Thomas Faber
8a718259d3
user32: Use float literals for float operation.
2015-09-07 17:55:05 +09:00
Nikolay Sivov
873e12c87b
user32/tests: Fix a test failure on Win8/Win10.
2015-08-24 14:42:13 +09:00
André Hentschel
3c9b8d7028
user32/tests: Add ARM and ARM64 arch strings.
2015-08-12 22:52:28 +09:00
Mark Harmstone
27bffea148
user32: Specify size for default window icon in NC_IconForWindow.
2015-08-03 11:00:40 +02:00
Piotr Caban
888ffb1134
user32: Test GetIconInfo on other process cursor.
2015-07-30 23:48:39 +02:00
Hans Leidekker
1a78666654
user32: Add a stub implementation of IsWindowRedirectedForPrint.
2015-07-29 21:44:02 +02: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
Alex Henrie
541a6e1e5e
user32/tests: Correct spelling of "Invisible".
2015-07-20 11:50:36 +02:00
Hans Leidekker
80cee36b6a
user32: Return a fake handle from RegisterPowerSettingNotification.
2015-07-17 20:17:40 +09:00
Hans Leidekker
4ad09a150e
user32: Add a stub implementation of UnregisterPowerSettingNotification.
2015-07-17 20:17:36 +09:00
Dmitry Timoshkov
268cdbbfb6
user32: SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should return real font names.
2015-07-17 19:29:20 +09:00
Dmitry Timoshkov
b68593ef5c
user32: Add a test to show that fonts returned by SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should be listed by EnumFontFamilies(hdc, NULL).
2015-07-17 19:28:18 +09:00
Alex Henrie
5caa651732
user32: Scroll listbox item completely into view on LB_SETCURSEL.
2015-07-17 16:34:03 +09:00
Alex Henrie
f612553694
user32: Simplify if-else statement.
2015-07-17 16:33:50 +09:00
Sebastian Lackner
8723d3455e
server: Add fallback to desktop keystate in get_key_state wineserver call.
2015-07-10 15:07:45 +09:00
Sebastian Lackner
6019da2355
user32/tests: Add tests for calling GetKeyState from thread without message queue.
2015-07-10 15:05:40 +09:00
Dmitry Timoshkov
55a78fd19b
user32/tests: Add some tests to show that WS_CLIPCHILDREN doesn't exclude children from update region.
2015-07-01 22:56:39 +09:00
Nikolay Sivov
48246a149e
user32: Added stubs for ShutdownBlockReasonCreate/ShutdownBlockReasonDestroy.
2015-06-29 18:51:02 +09:00
Jacek Caban
4bcb4881ae
user32: Limit number of hooks called recursively.
2015-06-29 18:51:01 +09:00
Alex Henrie
c68843f898
user32: Send BM_SETCHECK before WM_CAPTURECHANGED and add tests.
2015-06-23 17:08:23 +09:00
Huw Davies
1342254422
user32/tests: Try to fix the test failures on Win 2k.
2015-06-16 23:56:45 +09:00
Huw Davies
683ffd7ff1
user32/tests: Add some optional messages for Win XP.
2015-06-16 16:47:48 +09:00
Huw Davies
30c529c9f7
user32/tests: Use the correct codepage for WM_CHAR tests.
2015-06-12 21:22:43 +09:00
Alexandre Julliard
cce57e9e3e
user32/tests: Add tests for SetClipboardData from a different thread.
2015-06-10 19:01:07 +09:00
Alexandre Julliard
3d7aa246d5
server: Add a request to empty the clipboard.
2015-06-09 22:09:56 +09:00
Alexandre Julliard
26bae6d613
user32/tests: Add tests for calling EmptyClipboard from a different thread.
2015-06-09 22:09:56 +09:00
Alexandre Julliard
0aa1af219f
user32: Disallow format 0 in SetClipboardData.
2015-06-05 18:36:32 +09:00
Alexandre Julliard
9ce9ba30ea
user32/tests: Add tests for clipboard sequence number and notifications.
2015-06-04 20:15:05 +09:00
Sebastian Lackner
e05e99d754
server: Fix opening clipboard from multiple threads.
2015-06-04 15:58:02 +09: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
Alexandre Julliard
bdf3f413af
server: Allow opening the clipboard again with the same owner.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
4c64d137ff
user32/tests: Remove support for Win9x in clipboard test.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
070a82e743
user32: Merge the AcquireClipboard and EmptyClipboard driver entry points.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
b7c340de73
user32: Get rid of the unused parameter in the EmptyClipboard driver entry point.
2015-06-03 18:46:53 +09:00
Huw Davies
10556c25e4
winex11: Fix ctrl-<symbol> to generate codes below 0x20 where necessary.
2015-05-28 22:44:11 +09:00
Alexandre Julliard
7ab517c3c6
user32: Remove some unnecessary clipboard helper functions.
2015-05-27 17:42:59 +09:00
Bruno Jesus
e0ba6d8fdb
user32: Set the expected errors in GetRawInputDeviceList.
2015-05-27 13:54:37 +09:00
Bruno Jesus
1bba9674d9
user32/tests: Add tests for GetRawInputDeviceList.
2015-05-26 18:45:32 +09:00
Huw Davies
b3fe7f7c1b
user32/tests: Fix tests on Windows 8.
2015-05-20 17:27:10 +09:00
Sebastian Lackner
4439cd433d
server: attach_thread_input shouldn't create queues for foreign threads.
2015-05-18 19:59:28 +09:00
Alex Henrie
5c48752784
user32: Fall back to downscaling the big icon for ICON_SMALL2.
2015-05-14 18:57:26 +09:00
Alex Henrie
0768a62f2c
user32: Simplify GCLP_HICON and GCLP_HICONSM boolean logic.
2015-05-14 18:55:28 +09:00
Alex Henrie
2a94355c91
user32: Free internal icon when freeing the rest of the window class.
2015-05-14 18:54:40 +09:00
Alex Henrie
f920dfd698
user32: Load hIconSmIntern from the best-matching resource.
2015-05-14 00:06:58 +09:00
Alex Henrie
5579967c53
user32: Use the window class icon if the MDI child doesn't have its own.
2015-05-14 00:06:58 +09:00
Alex Henrie
f2bf0227a2
user32: Do not return the class icon when ICON_SMALL2 is requested.
2015-05-14 00:06:57 +09:00
Francois Gouget
701c399fae
user32/tests: Silence some clipboard traces that generate too many lines.
2015-05-12 22:32:29 +09:00
Alexandre Julliard
7f956031bb
user32/tests: Update some todos for changed test failure behavior.
2015-05-07 22:29:21 +09:00
Aric Stewart
3599f956e2
server: Fixup input windows on thread_detach.
2015-05-06 20:54:55 +09:00
Alexandre Julliard
247275aec3
server: Return a valid position also in posted messages.
2015-04-27 18:04:59 +09:00
Aric Stewart
bed7e69a14
server: Do not replace focus and active windows with NULL on thread_attach_input.
2015-04-23 17:48:33 +09:00
Dmitry Timoshkov
c0e876cb9e
server: GetQueueStatus should clear only checked queue changed bits.
2015-04-21 17:32:53 +09:00
Dmitry Timoshkov
d31e8a3118
user32/tests: Add PeekMessage(PM_NOREMOVE) call to inter-thread messages test.
2015-04-21 17:32:31 +09:00
Dmitry Timoshkov
4ae80d15d9
user32/tests: Add a test for sending inter-thread messages.
2015-04-20 21:23:10 +09:00
Sebastian Lackner
d3be42ab96
user32: Invalidate key state cache globally after running LL hooks.
2015-04-07 15:14:04 +09:00
Sebastian Lackner
325c061bbd
user32: Move key state cache into a separate struct.
2015-04-07 15:14:02 +09:00
Sebastian Lackner
26c9ce5d0b
user32/tests: Add tests for ToAscii.
2015-04-06 18:06:13 +09:00
Sebastian Lackner
a2695810e7
user32/tests: Add tests for ToUnicodeEx with a NULL pointer as keystate.
2015-04-06 18:06:10 +09:00
Sebastian Lackner
1059ee3cba
user32: Check for NULL pointer in ToUnicodeEx.
2015-04-06 18:06:04 +09:00
Thomas Faber
2885e712f7
user32/tests: Avoid side-effect in an assert.
2015-04-03 17:07:38 +09:00
Francois Gouget
30206d9f63
user32: Mark internal symbols with hidden visibility.
2015-04-01 14:13:39 +09:00
Alexandre Julliard
13700585b1
user32/tests: Print full flag values in traces.
2015-03-30 19:49:14 +09:00
Alexandre Julliard
766768f033
user32: Remove left-over freeing of the edit text with ES_PASSWORD.
2015-03-30 19:49:12 +09:00
Frédéric Delanoy
f6a341c747
Assorted spelling/grammar fixes.
2015-03-27 22:29:48 +09:00
Francois Gouget
68264c2da7
user32: Remove an unneeded NONAMELESSSTRUCT directive.
2015-03-27 00:12:34 +09:00
Piotr Caban
dfd2506736
user32/tests: Don't send mouse clicks to other process windows in input tests.
2015-03-26 14:21:00 +09:00
Sebastian Lackner
5e5adcffb5
user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo.
2015-03-23 22:59:21 +09:00
Nikolay Sivov
c5dda71cd4
user32/static: Allow setting NULL text.
2015-03-23 16:38:09 +09:00
Sebastian Lackner
1acf20779f
user32/tests: Add tests for removing already seen messages from the queue.
2015-03-17 16:00:46 +09:00
Sebastian Lackner
a9ff334976
user32: Fix invalid memory access and leak if alloc_user_handle fails (Coverity).
2015-03-17 14:52:08 +09:00
Jacek Caban
da72de967b
user32: Allow making window visible by WM_SETREDRAW message.
2015-03-13 21:53:19 +09:00
Alexandre Julliard
a5ec8bf8b0
user32/tests: Avoid a race with the get/set window text threads.
2015-02-24 21:55:44 +09:00
Alexandre Julliard
4e87b952b3
user32/tests: Ignore WM_PAINT messages in GetMessagePos test.
2015-02-24 21:55:43 +09:00
Michael Stefaniuc
63174c2f36
user32: IDI_WINLOGO is already an int resource (PVS-Studio).
2015-02-18 16:09:05 +09:00
Piotr Caban
33803586ed
user32/tests: Test that CS_PARENTDC enables child window to draw over whole parent window.
2015-02-13 21:46:29 +09:00
Piotr Caban
3d6de8c8a2
user32/tests: Add tests for window clipping with CS_PARENTDC flag.
2015-02-13 21:46:25 +09:00
Piotr Caban
03f645a76b
server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified.
2015-02-09 17:40:40 +09:00
Piotr Caban
6c5d4cb07e
user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows.
2015-02-06 00:28:34 +09:00
Piotr Caban
008a2b46f5
user32/tests: Added GetMessagePos tests.
2015-02-04 21:32:50 +09:00
Michael Stefaniuc
937146ae33
user32/tests: Remove an unused assignment (PVS-Studio).
2015-01-22 12:04:16 +01:00
André Hentschel
0b811eeabf
user32/tests: Don't test function directly when reporting GetLastError().
2015-01-21 21:36:06 +01:00
Bruno Jesus
da8bb1c4a5
user32: Allocate memory based on HICON instead of DWORD to fix 64 bit problems.
2015-01-19 16:02:10 +01:00
Huw Davies
9650f21b2d
user32: Actually use the menu's background brush.
2015-01-16 16:52:40 +01:00
Huw Davies
14f7fd4e23
user32/tests: Add tests for setting and getting the background brush.
2015-01-16 16:52:34 +01:00
Nikolay Sivov
151694a0bc
user32: Handle NULL argument in GetKeyboardLayoutNameW().
2015-01-13 17:52:27 +01:00
Piotr Caban
91eced0ce5
user32: Only store dialog focus when window is hidden or inactive.
2015-01-07 23:48:28 +01:00
Francois Gouget
ea932fbcc1
Assorted spelling fixes.
2014-12-05 20:47:45 +01:00
André Hentschel
f5f0b8bbc6
user32/tests: Remove unused variables (Clang).
2014-12-04 14:03:20 +01:00
Hans Leidekker
9023a95e5b
user32: Add a stub implementation of IsTouchWindow.
2014-11-27 13:27:06 +01:00
Bruno Jesus
30120041c8
user32/tests: Ensure ShowWindow returns false when window is already hidden.
2014-11-25 19:49:32 +01:00
Drew Ronneberg
f271634296
user32: Do not call SendMessage() to hide a window that is already hidden.
2014-11-21 20:08:33 +09:00
Drew Ronneberg
0908c43327
user32/tests: Add tests for calling ShowWindow(SW_HIDE) on a hidden window.
2014-11-21 20:08:29 +09:00
Sebastian Lackner
d5ba7451a3
user32: Avoid sending window messages in FindWindowExW.
2014-11-18 22:10:38 +09:00
Sebastian Lackner
c56ba461a2
user32/tests: Add multi-threaded tests for [Get|Set]WindowText.
2014-11-18 22:10:36 +09:00
Sebastian Lackner
d6bdae11df
user32/tests: Add single-threaded tests for WM_[GET|SET]TEXT and [Get|Set]WindowText.
2014-11-18 22:10:28 +09:00
Sebastian Lackner
0a6e56bdc6
user32/tests: Reenable test function for WM_GETTEXT.
2014-11-18 22:10:24 +09:00
Sebastian Lackner
381adbf1c4
user32/tests: Add tests for internal window messages of FindWindowEx.
2014-11-18 22:09:47 +09:00
Sebastian Lackner
0cf86baf65
user32/tests: Remove unnecessary char array and add additional test in test_FindWindowEx.
2014-11-18 22:09:28 +09:00
Qian Hong
8a9115d91e
user32/tests: Test exception handling for timer callbacks.
2014-11-11 16:16:20 +09:00
Qian Hong
cd21d2dbda
user32: Add more exception handlings for timer callbacks.
2014-11-11 16:15:46 +09:00
Piotr Caban
3be5c16b4d
user32: Move IME window procedure to user32.
2014-11-11 16:09:47 +09:00
André Hentschel
4ac0808022
user32/tests: Clarify ok() condition (PVS-Studio).
2014-11-11 14:21:24 +09:00
Huw Davies
4c2ad39140
user32: Make the combo's listbox a topmost window.
2014-11-10 19:23:46 +09:00
Sebastian Lackner
3326cad0dd
user32/tests: Add tests for MsgWaitForMultipleObjectsEx.
2014-11-06 23:47:12 +09:00
Nikolay Sivov
3c24481dea
user32/tests: Use win_skip() where appropriate.
2014-11-06 14:58:15 +09:00
Sebastian Lackner
b43f13f892
user32: Fix invalid argument passed to ExtCreateRegion.
2014-11-03 20:31:10 +09:00
Huw Davies
3cd145f63f
user32: Merge the blitting of the centred and non-centred cases.
2014-10-29 20:53:12 +09:00
Piotr Caban
43dcd40c0b
user32: Show that IME window class is one of builtin classes.
2014-10-29 20:31:00 +09:00
Piotr Caban
f747e5c8c9
user32: Don't move mouse hardware messages to other threads queues.
2014-10-17 17:51:55 +09:00
Piotr Caban
3f1bbdcae3
server: Send mouse hardware messages to thread owning top-most window.
...
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Piotr Caban
2235c820a9
user32/tests: Add mouse SendInput tests when mouse events are captured.
2014-10-17 17:51:43 +09:00
Piotr Caban
65b09537b3
user32/tests: Add mouse SendInput tests.
2014-10-17 17:51:36 +09:00
Piotr Caban
0b273d279b
user32/tests: Add cross-process mouse click test.
2014-09-29 18:55:33 +02:00
Piotr Caban
c86bd676c7
user32/tests: Add cross-process WindowFromPoint tests.
2014-09-29 18:55:21 +02:00
Piotr Caban
d137a95fda
user32/tests: Add initial WindowFromPoint tests.
2014-09-29 18:55:16 +02:00
Piotr Caban
dcdf4dbf15
user32: Return early on child windows in DrawMenuBar.
2014-09-23 18:48:26 +02:00
Hugh McMaster
0fa8ae7b52
user32: Fix spelling in a comment.
2014-09-15 18:25:49 +02:00
Sebastian Lackner
4a3e0e1e0c
user32/tests: Add an additional test for GetMenuItemInfo with NULL pointer as TypeData.
2014-09-09 11:11:28 +02:00
Michael Müller
997e197f23
user32: Also set cch member in GetMenuItemInfo when passing a null pointer.
2014-09-09 11:11:27 +02:00
Stefan Dösinger
3e993bf1d8
user32: Make GetRegisteredRawInputDevices hotpatchable.
2014-07-30 16:17:14 -05:00
Sebastian Lackner
34f8053efe
user32/tests: Add a missing call to ReleaseActCtx().
2014-06-24 13:31:24 +02:00
Alexandre Julliard
82bee5ceda
user32: Properly block sent messages while waiting for a reply with SMTO_BLOCK.
2014-06-17 15:14:51 +02:00
Alexandre Julliard
ae6efdd45d
user32/tests: Silence some noisy traces.
2014-06-17 10:58:55 +02:00
Sebastian Lackner
e9fbcc8360
user32: Avoid race-condition when unloading module while hook is still active.
...
Based on a patch by Sam Revitch.
2014-06-17 10:40:12 +02:00
Austin English
82392e78b7
user32: Add a stub for SetGestureConfig.
2014-06-17 10:34:40 +02:00
Akihiro Sagawa
cb2b15921d
user32: Don't close a popup menu when clicking a sub-menu parent item twice.
2014-06-13 15:57:25 +02:00
Alexandre Julliard
a95651a5dc
user32/tests: Remove some noisy traces.
2014-06-13 10:13:41 +02:00
Henri Verbeet
f25317a608
user32: Ensure at least one character is used in TEXT_WordBreak().
2014-06-13 10:12:12 +02:00
Bruno Jesus
d90d2ab558
user32/tests: Fix a memory leak (valgrind).
2014-06-11 16:09:42 +02:00
Piotr Caban
7257b62bd1
user32: Try to activate topmost activable window in WINPOS_ActivateOtherWindow.
2014-06-11 16:09:01 +02:00
Austin English
2227abbc2c
user32: Fix a comment.
2014-06-11 13:06:32 +02:00
Vincent Povirk
417585661c
server: Clear the queue's QS_SMRESULT bit when sending a new message.
2014-05-20 21:26:52 +02:00
Vincent Povirk
abea10fa93
user32/tests: Add test for SendMessage race condition.
2014-05-19 18:55:55 +02:00
Andrew Eikum
d7f827254e
user32: Remove unused internal menu messages.
2014-05-19 18:55:55 +02:00
Piotr Caban
c2df317c4b
user32: Fix LoadStringA behavior on 1-character long buffer.
2014-05-14 17:20:56 +02:00
Austin English
6458aca761
user32: Add a stub for RegisterTouchWindow.
2014-05-14 11:25:48 +02:00
Frédéric Delanoy
b242d9cee3
user32/tests: Constify some arrays.
2014-05-12 10:48:33 +02:00
Aric Stewart
dfa65a52bb
user32: Pass WM_IME_CONTROL messages to the IME.
2014-05-07 20:21:58 +02:00
Erich E. Hoover
b5bd529769
user32: Reduce the minimum Set[System]Timer from 15 ms to 10 ms.
2014-05-01 18:56:46 +02:00
Alexandre Julliard
6a0f3df68c
user32: Don't bother returning a value from the SetWindowRgn driver entry point.
2014-05-01 12:31:14 +02:00
Andrew Eikum
cb1242a8f2
user32: Only update listbox horizontal scroll info if WS_HSCROLL is set.
2014-04-28 18:25:02 +02:00
Vincent Povirk
eb8406b810
user32/tests: Our popup test window loses capture to itself.
2014-04-25 10:16:15 +02:00
Vincent Povirk
e1c5af1e8d
user32/tests: Add a message test for popup menus on windows that have capture.
2014-04-25 10:16:11 +02:00
Vincent Povirk
412222609f
user32/tests: Add test calling EndMenu from WM_ENTERMENULOOP.
2014-04-25 10:16:07 +02:00
Patrick Rudolph
66316964a9
user32/tests: Add tests for valid cbSize in GetMonitorInfoW.
2014-04-24 11:38:24 +02:00
Patrick Rudolph
4ecda80c6c
user32: Check for valid cbSize in GetMonitorInfoW.
2014-04-24 11:38:09 +02:00
Andrew Eikum
c4a28490f3
user32: Allow setting horizontal extent even without WS_HSCROLL.
2014-04-24 11:37:13 +02:00
Patrick Rudolph
24c572874d
user32/tests: Add tests for valid cbSize in GetMonitorInfoA.
2014-04-22 18:45:30 +02:00
Patrick Rudolph
8be5dd162c
user32: Check for valid cbSize in GetMonitorInfoA.
2014-04-22 18:44:39 +02:00
Dmitry Timoshkov
c6dbb33e19
user32: When converting from MF_ flags to MENUITEMINFO ignore MF_POPUP if id is not a menu.
2014-04-21 11:09:52 +02:00
Dmitry Timoshkov
7744c7003b
user32/tests: Add AppendMenu/ModifyMenu MF_POPUP tests.
2014-04-21 11:09:51 +02:00
Vincent Povirk
68f2b878d2
user32: Allow EndMenu() calls from WM_ENTERMENULOOP.
2014-04-18 14:36:04 +02:00
Alexandre Julliard
7e874aed75
user32: Load the message box font through the dialog template.
2014-04-15 21:03:55 +02:00
Piotr Caban
179957d5a9
user32/tests: Fix DrawMenuBar test failures.
2014-04-15 21:03:55 +02:00
Piotr Caban
55ff066103
user32: Don't fail on windows without menu bar in DrawMenuBar.
2014-04-10 16:51:09 +02:00
Alexandre Julliard
b045851648
user32: Cache the server queue mask on the client side and reset them when they have changed.
2014-04-10 16:29:18 +02:00
Akihiro Sagawa
6b616a0fd8
user32: Emit EM_SETSEL message when choosing "Select All" from context menu.
2014-04-08 09:25:15 +02:00
Akihiro Sagawa
0bfc8f05c6
user32: Don't emit WM_COMMAND on choosing an item in a context menu (Edit control).
2014-04-08 09:25:06 +02:00
Akihiro Sagawa
1ba63827f2
user32/tests: Add some tests for edit control context menu messages.
2014-04-08 09:24:47 +02:00
Akihiro Sagawa
0815386430
user32/tests: Don't forget to destroy the parent window after the tests.
2014-04-08 09:24:40 +02:00
Nikolay Sivov
bd262c606a
user32: Added RegisterPowerSettingNotification() stub.
2014-04-07 15:34:34 +02:00
Nikolay Sivov
ba3a6d1f4b
user32: Fix Edit margins calculation for empty client area case.
2014-04-07 09:58:02 +02:00
Piotr Caban
27374064b6
user32: Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function.
2014-04-02 19:06:09 +02:00
Francois Gouget
ebd9918830
user32/tests: Fix compilation on systems that don't support nameless unions.
2014-03-31 15:28:45 +02:00
Piotr Caban
de21941178
user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag.
2014-03-27 16:18:05 +01:00
Javier Cantero
ee5c64f583
user32/tests: New test cases for SubtractRect().
2014-03-27 12:06:03 +01:00
Piotr Caban
1cf3d8caa4
user32: Change SetFocus behavior on windows with parent and no WS_CHILD flag.
2014-03-26 19:20:44 +01:00
Javier Cantero
6ac11c60f0
user32/tests: Add SubtractRect() test.
2014-03-26 19:20:27 +01:00
Javier Cantero
1f15169f72
user32: Fix side effect in SubtractRect().
2014-03-26 19:20:27 +01:00
Hans Leidekker
fb31e0fbe3
user32/tests: Add more tests for PrivateExtractIcons.
2014-03-25 19:01:26 +01:00
Piotr Caban
61a92af5ca
user32/tests: Workaround SetForegroundWindow failure due to foreground lock timeout.
2014-03-25 13:55:42 +01:00
Nikolay Sivov
d3c9e8a7e6
user32: Added ChangeWindowMessageFilterEx() stub.
2014-03-20 17:46:01 +01:00
Alexandre Julliard
e445303ab4
user32/tests: Make a few more messages optional.
2014-03-20 17:09:39 +01:00
Alexandre Julliard
fc183ba2c5
user32: Set the queue mask only after flushing the window surfaces.
2014-03-19 15:56:22 +01:00
Alexandre Julliard
06960ac267
user32/tests: Mark a failing test as todo.
2014-03-19 12:56:11 +01:00
Nikolay Sivov
961d26418a
user32: Added AddClipboardFormatListener/RemoveClipboardFormatListener stubs.
2014-03-19 11:33:17 +01:00
Frédéric Delanoy
9b1a2d8f4f
user32/tests: Use BOOL type where appropriate.
2014-03-18 12:32:52 +01:00
Vincent Povirk
a07966dba8
user32: Create popup menu windows before WM_ENTERMENULOOP.
2014-03-12 20:26:35 +01:00
Vincent Povirk
7f8d1de1b7
user32/tests: Add message tests for TrackPopupMenu.
2014-03-12 20:25:25 +01:00