Commit Graph

1861 Commits

Author SHA1 Message Date
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
Alexandre Julliard
44423f915c user32: Add some defines to reduce Unicode string duplication. 2012-11-13 16:54:54 +01:00
Alexandre Julliard
2dc978686d user32: Implement a number of missing system parameters. 2012-11-13 16:54:54 +01:00