Marcus Meissner
6f3d942fa4
user32: Fixed sizeof() to MultiByteToWideChar.
2013-11-06 12:01:53 +01:00
Alexandre Julliard
5756ee09f3
makefiles: Add makedep pragmas for rc files that contain translations.
2013-11-05 20:38:19 +01:00
Frédéric Delanoy
bb2be17327
user32/tests: Use BOOL type where appropriate.
2013-11-05 11:16:00 +01:00
Frédéric Delanoy
77ee42fd33
user32: Use BOOL type where appropriate.
2013-11-05 11:15:06 +01:00
Francois Gouget
790d2e8b21
user32/tests: When EnumDisplaySettings() fails unexpectedly, trace how many calls were made.
2013-11-01 10:54:25 +01:00
Alexandre Julliard
9675aa173a
gdi32: Allow user32 to specify the display driver to use.
2013-10-29 12:51:26 +01:00
Alexandre Julliard
010769249c
user32: Get the graphics driver name from the desktop window registry entry.
2013-10-29 12:12:21 +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
4c41c20e02
user32: Create the desktop window to trigger builtin class registration before accessing the class list.
2013-10-28 15:24:58 +01:00
Alexandre Julliard
f5113d2d56
user32: Set the display device property on the desktop window as soon as it is created.
2013-10-24 19:01:55 +02: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
Dmitry Timoshkov
ae3a6d52d0
user32/tests: Enable user32 tests compilation with __WINESRC__ defined.
2013-10-24 10:45:38 +02:00
Dmitry Timoshkov
154df653d6
user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined.
2013-10-24 10:45:26 +02:00
Dmitry Timoshkov
b890c63660
user32/tests: Fix window station and desktop tests compilation with __WINESRC__ defined.
2013-10-24 10:45:20 +02:00
Dmitry Timoshkov
4c5a32e791
user32/tests: Fix window tests compilation with __WINESRC__ defined.
2013-10-24 10:45:14 +02:00
Dmitry Timoshkov
4734bd9edb
user32/tests: Fix text drawing tests compilation with __WINESRC__ defined.
2013-10-24 10:44:56 +02:00
Dmitry Timoshkov
c4ec0ed2d6
user32/tests: Fix system parameters tests compilation with __WINESRC__ defined.
2013-10-24 10:44:52 +02:00
Dmitry Timoshkov
371824fb85
user32/tests: Fix static control tests compilation with __WINESRC__ defined.
2013-10-24 10:44:46 +02:00
Dmitry Timoshkov
4d5c668447
user32/tests: Fix scroll tests compilation with __WINESRC__ defined.
2013-10-24 10:44:42 +02:00
Dmitry Timoshkov
f26bace5af
user32/tests: Fix resource tests compilation with __WINESRC__ defined.
2013-10-24 10:44:31 +02:00
Dmitry Timoshkov
a7219e8c88
user32/tests: Fix message tests compilation with __WINESRC__ defined.
2013-10-24 10:44:23 +02:00
Dmitry Timoshkov
33ff6d2549
user32/tests: Fix monitor tests compilation with __WINESRC__ defined.
2013-10-24 10:44:09 +02:00
Dmitry Timoshkov
d2ab1731c8
user32/tests: Fix menu tests compilation with __WINESRC__ defined.
2013-10-24 10:44:03 +02:00
Alexandre Julliard
11597d6b3c
user32: Don't trigger a graphics driver load for functions that require an existing window.
2013-10-23 17:02:56 +02:00
Dmitry Timoshkov
c8f608e755
user32/tests: Fix listbox tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
0e42a41ab3
user32/tests: Fix edit control tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
84a80215b9
user32/tests: Fix input tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
f237d5eef2
user32/tests: Fix dialog tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
ad638a32d7
user32/tests: Fix DDE tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
6d00d04726
user32/tests: Fix DCE tests compilation with __WINESRC__ defined.
2013-10-23 17:01:47 +02:00
Dmitry Timoshkov
7603700169
user32/tests: Fix cursor and icon tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Dmitry Timoshkov
3e3eb805d8
user32/tests: Fix combobox tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Dmitry Timoshkov
5eb648c8f0
user32/tests: Fix clipboard tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Dmitry Timoshkov
74f205462b
user32/tests: Fix class tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Dmitry Timoshkov
3c4d7f0d72
user32/tests: Fix broadcast tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Alexandre Julliard
a897e13fba
user32: Get rid of the CreateCursorIcon driver entry point.
2013-10-22 10:25:44 +02:00
Alexandre Julliard
6d0d7e08e5
user32: Fix the scope of a local variable.
2013-10-21 14:48:20 +02:00
Alexandre Julliard
7b2eafbc8a
user32: Fix tick counter wrap-around handling.
2013-10-21 14:48:01 +02:00
Qian Hong
bd5b865f00
user32/tests: Skip desktop tests on NT4.
2013-10-17 12:59:06 +02:00
Alexandre Julliard
eb5127dfd1
user32: Create the desktop window before enumerating monitors.
2013-10-16 19:45:50 +02:00
Alexandre Julliard
209d1a86d2
user32: Delay creation of the 55AA pattern brush until it's needed.
2013-10-16 17:23:22 +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
00c9c6fde3
user32/tests: Skip winstation tests on NT4.
2013-10-15 16:01:04 +02:00
Qian Hong
a0637a7f52
user32/tests: Skip winstation tests when no enough privileges.
2013-10-15 16:00:53 +02:00
Qian Hong
6e32d18f9f
user32/tests: Try harder to set foreground window.
2013-10-14 10:45:31 +02:00
Qian Hong
2f26e38580
user32/tests: Make sure to allow setting the foreground window.
2013-10-11 12:45:05 +02:00
Qian Hong
b6b9ea7670
user32/tests: Trace foreground window name.
2013-10-11 11:08:18 +02:00
Andrew Eikum
3ff27f3544
user32: Don't try to paint during WM_SETFOCUS if the edit control is not visible.
2013-10-11 11:04:58 +02:00
Qian Hong
5da10c9a0e
user32/tests: Added foreground window tests on different desktops.
2013-10-08 15:39:01 +02:00
Qian Hong
43e1df02d2
user32/tests: Added input desktop tests on different winstations.
2013-10-08 15:39:01 +02:00
Qian Hong
834ce9a2d7
user32/tests: Clean side effect after testing winstation.
2013-10-08 15:39:01 +02:00
Qian Hong
a07e0c5a4a
user32/tests: Fixed typo in comments.
2013-10-08 15:39:00 +02:00
Francois Gouget
39f8c2201c
user32/tests: Fix compilation on systems that don't support nameless unions.
2013-10-07 14:44:34 +02:00
Qian Hong
b0cac34363
user32/tests: Added tests for OpenInputDesktop and SwitchDesktop.
2013-10-03 20:14:41 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
9463dba830
tests: Use the explicit LoadLibraryA function.
2013-10-02 11:02:21 +02:00
Frédéric Delanoy
2dd332789b
user32: Use BOOL type where appropriate.
2013-09-27 10:45:04 +02:00
Michael Stefaniuc
7c7fa1051c
user32: Avoid using CONST.
2013-09-24 12:57:57 +02:00
Aric Stewart
4247e80a79
user32: Use Uniscribe ScriptBreak and the resulting Unicode Line Break algorithm to break lines for DT_WORDBREAK.
2013-09-13 11:17:00 +02:00
Ken Thomases
c7d2bcfb61
user32: Fix mouseRect computation for starting position when sizing window.
...
The mouseRect is the limit of the mouse position to keep the window between
its minimum and maximum sizes. The computation was correct if the mouse
started precisely on the window border. But if the mouse is not exactly at
the border, then the mouse limit has to account for that, because the window
will be resized based on the distance from the starting point.
2013-09-12 11:07:50 +02:00
Nikolay Sivov
47650c3320
user32/tests: Test to show that SendMessage/PostMessage don't force caller activation context on window thread.
2013-09-06 17:25:08 +02:00
Ken Thomases
029aec19ff
user32: Remove dead code for suppressing menu drawing.
2013-07-27 11:50:12 -05:00
Francois Gouget
653354ab25
Assorted spelling fixes.
2013-07-03 21:20:04 +02:00
Qian Hong
9ef2c648ee
user32: Properly update caret position after result string is committed.
2013-07-03 10:28:44 +02:00
Alexandre Julliard
fa311c57bf
user32: Check for driver events more quickly once we start getting timer messages.
2013-07-02 19:39:34 +02:00
Alexandre Julliard
cd4d71e4a2
user32: Fetch the window menu again after sending initialization messages.
2013-06-27 17:48:30 +02:00
Alexandre Julliard
8dc7b0d9c2
user32: Use the current DC layout in DrawState when drawing to an intermediate bitmap.
2013-06-18 12:57:44 +02:00
Alexandre Julliard
094251496c
user32: Center the icon in the caption bar.
2013-06-17 19:30:47 +02:00
Alexandre Julliard
a657e5f6ef
user32: Make the default non-client metrics scalable with the resolution.
2013-06-17 19:30:38 +02:00
Alexandre Julliard
9ac7cc8311
user32: Check the correct id for the close button when setting the font.
2013-06-17 19:30:38 +02:00
Francois Gouget
bd97f64d04
user32/tests: Add a trailing '\n' to a few ok() calls.
2013-06-14 11:45:19 +02:00
Marcus Meissner
b853ddc40b
user32/tests: Remove side effects from assert()s.
2013-06-10 11:56:27 +02:00
Hans Leidekker
ba40509f90
user32: Fix icon extraction from non-native PE executables.
2013-06-06 20:05:31 +02:00
Sergey Guralnik
e90418d31c
user32: Bring reference MDI child to bottom when switching to next.
2013-06-06 10:42:51 +02:00
Sergey Guralnik
fe2f877678
user32/tests: Test MDI child order changing caused by WM_MDINEXT.
2013-06-05 20:30:58 +02:00
Sergey Guralnik
e3219fa426
user32/tests: Fix a typo.
2013-05-29 19:48:57 +02:00
Qian Hong
26683adf36
user32: Make CreateWindowExA and CreateWindowExW hotpatchable.
2013-05-24 11:06:03 +02:00
Huw Davies
5d5d0935ea
user32: Use the codepage associated with the input locale for WM_CHAR-type conversions.
2013-05-21 16:59:58 +02:00
Huw Davies
bf85df3f0e
user32: Move back to using WC<->MB in order to specify an alternative codepage.
2013-05-21 16:55:11 +02:00
Ken Thomases
7e0c42e839
user32/tests: Test that sending WM_CANCELMODE cancels tracking in window's menu bar.
2013-05-20 21:15:38 +02:00
Ken Thomases
effc28e16e
user32: Allow sent WM_CANCELMODE to end menu tracking in a window's menu bar.
2013-05-20 21:15:38 +02:00
Detlef Riekenberg
9782ad77b5
user32: The flag EF_APP_HAS_HANDLE is now obsolete.
2013-05-17 16:59:34 +02:00
Detlef Riekenberg
caf1bbba94
user32/tests: Add tests for EM_GETHANDLE.
2013-05-17 16:59:20 +02:00
Detlef Riekenberg
40afb51a70
user32: The app owns the text buffer memory after an EM_GETHANDLE.
2013-05-17 16:57:51 +02:00
Aric Stewart
7559526438
user32: Points for IMR_QUERYCHARPOSITION need to be in screen coordinates.
...
Found by Ken Thomases.
2013-05-15 19:58:37 +02:00
Piotr Caban
dd573925e5
user32: Use SendNotifyMessage to send WM_DRAWCLIPBOARD.
2013-05-15 19:57:34 +02:00
Huw Davies
d3fec2ce9c
user32/tests: Add tests to show that WM_CHAR W<->A mapping uses the codepage associated with the current keyboard layout.
2013-05-13 20:52:08 +02:00
Nikolay Sivov
0325dc6186
user32: Fix right and bottom edge sizes.
2013-05-09 19:24:20 +02:00
Nikolay Sivov
8f7779fc3b
user32: Implement GetListBoxInfo().
2013-05-07 20:07:41 +02:00
Aric Stewart
652af4e294
user32: Implement IMR_QUERYCHARPOSITION handling in the edit control.
2013-05-07 17:20:48 +02:00
Erich Hoover
057b0d8bca
user32: SetTimer and SetSystemTimer should respect the timeout limits.
2013-05-06 15:55:20 +02:00
Dmitry Timoshkov
e2791cdfb1
include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition.
2013-04-29 13:33:54 +02:00
Dan Kegel
c9d1a1906e
user32: Add assembly wrapper for calling hook procedures.
2013-04-24 19:40:44 +02:00
Alexandre Julliard
04ad06353d
user32: Move the common parts of ScrollDC into user32 and the null driver.
2013-04-19 16:16:16 +02:00
Nikolay Sivov
8f985884ea
user32: Use defined constants to identify message box buttons.
2013-04-15 15:15:40 +02:00
Sergey Guralnik
108173fd09
user32/tests: SetWindowPos() propagates update region from WS_CLIPCHILDREN child to its children.
2013-04-12 16:28:13 +02:00
Alexandre Julliard
59c0c5fb2d
user32: Don't print a warning when creating the HWND_MESSAGE parent window.
2013-04-02 14:19:45 +02:00
Aric Stewart
6e4cbd5787
user32: ImmProcessKey is only called on WM_KEYDOWN and if the message is being removed.
2013-03-28 18:55:58 +01:00
Huw Davies
b4b99697f9
user32: Keep the combo listbox within the monitor's work area.
2013-03-28 18:55:09 +01:00
Huw Davies
698c7f0f3f
user32: Invalidate the listbox in LB_SETCOUNT.
2013-03-28 18:53:57 +01:00
Alexandre Julliard
5bfc411ae7
user32: Constify pointers that point to read-only file data.
2013-03-28 17:36:54 +01:00
Alexandre Julliard
267109d6f1
user32: Add size checks when creating an icon from bitmap info.
2013-03-28 17:36:54 +01:00
Andrew Talbot
f3790542d5
user32: Avoid signed-unsigned integer comparisons.
2013-03-15 11:40:02 +01:00
Sergey Guralnik
ac0738471d
user32: Use window height/width instead of client for combo resizing.
2013-03-12 11:25:58 +01:00
Hans Leidekker
6493d6abbc
user32: Add a stub implementation of UserHandleGrantAccess.
2013-03-08 11:02:25 +01:00
Alexandre Julliard
3369c53202
user32/tests: Define the required Windows version before including anything.
2013-02-18 14:51:05 +01:00
Alexandre Julliard
550e53b6bb
user32: Prefer loading color cursors in LoadImage.
2013-02-12 13:56:41 +01:00
Alexandre Julliard
0cc78d97c1
user32: Don't paint to the surface if the window has a pixel format, regardless of the state of the top parent.
2013-02-11 17:49:22 +01:00
Alexandre Julliard
b7bf7f01b3
user32: Avoid releasing a potentially null pointer.
2013-02-11 11:46:13 +01:00
Ken Thomases
f42cfc04eb
user32: Improve mouse wheel scrolling in listbox control.
...
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines. Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:09 +01:00
Ken Thomases
1642d312fd
user32: Improve mouse wheel scrolling in edit control.
...
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines. Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:09 +01:00
Daniel Jelinski
59e0d7af68
user32: Fix CopyImage implementation when changing cursor to icon.
2013-02-11 11:24:07 +01:00
Ken Thomases
5fb543f6e2
user32: In TranslateMessage, handle ToUnicode returning 2 or more chars.
2013-02-05 11:07:02 +01:00
Sergey Guralnik
1cd5e69478
user32: Init standard scrollbars during WM_NCCREATE.
2013-01-24 17:31:32 +01:00
Nikolay Sivov
4c24882e3e
user32: Accept BI_BITFIELDS format for icons when creating icons.
2013-01-24 10:48:02 +01:00
Sergey Guralnik
77337d75f2
user32/tests: Test standard scrollbar initialization.
2013-01-22 20:01:59 +01:00
Jacek Caban
ded419707a
user32: Initialize cbSize of NONCLIENTMETRICSW struct in GetSystemMetrics.
2013-01-03 11:58:47 +01:00
Andrew Talbot
c78f8d7405
user32: Indentation fix.
2012-12-24 13:32:38 +01:00
Alexandre Julliard
72b3dfca7c
user32: Fix copy/paste typo.
2012-12-17 20:31:11 +01:00
Alexandre Julliard
71bb8c5e7c
user32: Properly fixup font system parameters with positive height.
2012-12-17 20:31:07 +01:00
Daniel Jelinski
39222f6ab7
user32: Always call ScrollWindowEx in the listbox WM_VSCROLL handler.
2012-12-13 20:15:35 +01:00
Alexandre Julliard
bd5d5e9776
user32: Start checking for driver events more often when the app doesn't consume messages properly.
2012-12-12 20:17:21 +01:00
Andrew Talbot
51f936adc2
user32: Remove unneeded address-of operator from array name.
2012-12-07 10:35:09 +01:00
Alexandre Julliard
1cf2c9c179
user32: Ignore the PM_NOYIELD flag on the client side.
2012-12-05 12:48:37 +01:00
Andrew Talbot
2f7885d990
user32: Do not call HeapFree() with address of stack memory.
2012-12-05 12:44:56 +01:00
Alexandre Julliard
1247225841
user32: Refresh the desktop when the wallpaper is changed.
2012-12-03 18:24:34 +01:00
Aric Stewart
bd7e8df6ba
user32: More instances where early versions of usp10 are not well behaved with ScriptString_pSize being NULL.
...
Issue discovered by Qian Hong.
2012-11-28 14:41:55 +01:00
Alexandre Julliard
ab2cac4815
user32: Fix handling of NULL paint struct in BeginPaint.
2012-11-27 20:52:25 +01:00
Alexandre Julliard
e2c61baba0
user32: Send WM_MOVING instead of WM_SIZING when moving a window.
2012-11-26 16:01:30 +01:00
Alexandre Julliard
a0f039a604
user32: Fix the wait event mask in PeekMessage.
2012-11-22 11:57:15 +01:00
Alexandre Julliard
841214ddb4
user32: Don't check for driver events before normal messages in PeekMessage.
2012-11-21 19:20:27 +01:00
Alexandre Julliard
8ba4c316f2
user32: Don't check for driver events before normal messages in GetMessage.
2012-11-21 19:20:09 +01:00
Alexandre Julliard
4428049a7a
user32: Make sure the scroll button arrows are really at least 3 pixels.
2012-11-20 19:46:56 +01:00
Alexandre Julliard
65e480d701
user32: Reimplement system color handling using standard system parameter entries.
2012-11-19 16:35:23 +01:00
Michael Stefaniuc
8f7eaf26ce
user32: Remove two superfluous casts.
2012-11-19 11:46:35 +01:00
Alexandre Julliard
7c2ce566da
user32: Initialize some system parameters in the registry on first run.
2012-11-16 17:42:45 +01:00
Alexandre Julliard
9c729720a9
user32: Maintain a cache of registry keys for the various parameters.
2012-11-16 16:17:32 +01:00
Alexandre Julliard
2959b312d9
user32: Define a global list of parameter registry keys and store an index in the value string.
2012-11-16 16:17:32 +01:00
Alexandre Julliard
13fbce5627
user32: Forward SystemParametersInfo calls to the user driver first.
2012-11-15 21:21:49 +01:00
Alexandre Julliard
4a8716cf5b
user32: Check the length of the loaded registry key for system parameters.
2012-11-15 21:21:48 +01:00
Alexandre Julliard
b2fa004ee4
user32: Simplify initialization of the desktop wallpaper.
2012-11-15 21:21:48 +01:00
Alexandre Julliard
4d653b77ec
user32: Add parameter entry objects for the desktop wallpaper and pattern.
2012-11-15 21:21:47 +01:00
Alexandre Julliard
002c626a11
user32: Use parameter entry objects for the non-client metrics parameters.
2012-11-15 21:21:46 +01:00
Alexandre Julliard
bfc8bc4d27
user32: Use the default GUI font for unspecified font parameters.
2012-11-15 21:21:43 +01:00
Christian Costa
5267f8b7d9
user32: Add tests for MapWindowPoints, ClientToScreen and ScreenToClient.
...
Based on a patch by Rico Schüller.
2012-11-14 16:29:51 +01:00
Alexandre Julliard
7fc61f6fea
user32: Add some error checking in ScreenToClient and ClientToScreen.
2012-11-14 16:29:49 +01:00
Alexandre Julliard
5dea654317
user32: Properly set last error in MapWindowPoints.
2012-11-14 16:29:48 +01:00
Alexandre Julliard
fb1c533e94
user32: Add helper functions for loading and saving system parameter registry entries.
2012-11-14 16:17:15 +01:00
Alexandre Julliard
270979dc9e
user32: Support more user preference system parameters.
2012-11-14 16:17:00 +01:00
Alexandre Julliard
95d782779c
user32: Add system parameter descriptors for user preference parameters.
2012-11-14 16:16:37 +01:00