Commit Graph

61 Commits

Author SHA1 Message Date
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Rein Klazes fefc8c629a Correctly size the spi_loaded array prevents overwriting of system
parameters.
2004-03-22 20:41:04 +00:00
Justin Chevrier 7e997ef081 Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT,
SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES,
SPI{GET,SET}MENUSHOWDELAY.
2004-03-19 01:16:12 +00:00
Justin Chevrier 0a25dd4668 Move implementation of SysParametersInfo from Ascii to Unicode. 2004-03-04 01:41:11 +00:00
Justin Chevrier 7d06e6a575 Implemented SPI_GETGRADIENTCAPTIONS, SPI_GETFONTSMOOTHING,
SPI_GETHOTTRACKING, SPI_GETLISTBOXSMOOTHSCROLLING and
SPI_GETKEYBOARDCUES system parameter calls.
2004-02-12 22:40:24 +00:00
Alexandre Julliard 6d9350fa1f Use a timeout when sending broadcast messages. 2003-10-31 04:18:55 +00:00
Daniel Marmier 0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +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
Dmitry Timoshkov 5beaf47496 Protect SystemParametersInfoA(SPI_GETxxx) from NULL pvParam. 2003-08-22 05:00:45 +00:00
Alexandre Julliard 69ace8ca6c Use the right buffer size in SYSPARAMS_Load instead of some random
value.
2003-03-30 03:09:39 +00:00
Adam Gundy 96c7034619 Initialize lpLogFont->lfQuality to the default. 2003-03-30 01:33:58 +00:00
Stephan BEUZE 1d57f4b47d Implemented a default behavior for SPI_GETGRADIENTCAPTIONS flag in
SystemParametersInfoA.
2003-03-26 01:23:38 +00:00
Andreas Mohr 034000b68d Convert Twips values from the registry. 2003-02-19 22:04:46 +00:00
Francois Gouget 389df3db5c Extend the code to set both the Win9x and the NT registry keys. Only
the NT keys are authoritative (i.e. we set the Win9x keys but don't
re-read them).
2003-01-20 23:25:14 +00:00
Francois Gouget 6fed1e3738 Update the registry keys of SPI_ICONHORIZONTALSPACING,
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman 72e64900c2 SPI_GETMINIMIZEDMETRICS implemented. 2003-01-13 18:29:03 +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
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Greg Turner ea4913f8f9 - noop redefinition of SPI_[GET/SET]MENUUNDERLINES
- define and fixme for
  SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES]
2002-11-04 22:47:59 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Dmitry Timoshkov b1f2325930 Correct some of the system metrics to more closely match Windows
values.
2002-08-28 00:54:53 +00:00
Philipp Wollermann a32dc91711 Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. 2002-06-28 23:27:37 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
James Juran 32886f6b88 Add missing \n to output messages. 2002-05-24 21:17:59 +00:00
Hidenori Takeshima 2223450ad2 Use default GUI font instead of hard-coded 'MS Sans Serif'. 2002-04-08 20:12:36 +00:00
Andriy Palamarchuk 41024bcd86 Added FIXMEs for actions with id>=115. These actions were not
processed before.
2002-03-11 01:11:41 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard d473d304bd Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Guy Albertelli <guy@codeweavers.com>
Use GetSystemMetrics() to for caption metrics in NONCLIENTMETRICS
struct. Initialize iScrollWidth and iScrollHeight entries for
SPI_GETNONCLIENTMETRICS.
2002-02-04 18:30:44 +00:00
Andriy Palamarchuk 4163e08541 SystemParametersInfo: fixed return value for SPI_SETFASTTASKSWITCH. 2002-01-18 18:10:11 +00:00
Andriy Palamarchuk 5bba14dc9e Implemented processing of actions SPI_SETKEYBOARDPREF,
SPI_SETSCREENREADER.
Save to registry value of SPI_SETSCREENSAVEACTIVE action.
Changed processing of action SPI_SETFASTTASKSWITCH to conform to
Windows behaviour on and after WinNT 4.0, Windows 95.
2002-01-15 20:43:43 +00:00
Andriy Palamarchuk 735a3292ca Implemented basic handling of assessibility actions. 2001-12-26 23:39:50 +00:00
Andriy Palamarchuk d3212f9150 Implemented processing for actions SPI_SETMOUSEBUTTONSWAP,
SPI_SETFASTTASKSWITCH, SPI_SETDRAGFULLWINDOWS, SPI_SETWORKAREA.
2001-12-21 20:31:24 +00:00
Andriy Palamarchuk 2489dc901d Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT,
SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT,
SPI_GET/SETDOUBLECLICKTIME.
2001-12-06 22:28:43 +00:00
Andriy Palamarchuk 096bab67c0 Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT,
SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING.
2001-11-20 20:27:26 +00:00
Andriy Palamarchuk 0bf1c2460d Implemented processing for SPI_GET/SETMOUSE, SPI_GET/SETKEYBOARDDELAY,
SPI_GET/SETKEYBOARDSPEED actions. Implemented use of mouse
acceleration/threshold for relative mouse movements.
2001-11-13 21:30:59 +00:00
Andriy Palamarchuk 67fab90d5b Implemented SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING system
parameters processing.
2001-11-09 20:02:41 +00:00
Andriy Palamarchuk c9228e1076 Created new infrastructure for SystemParametersInfo function. Used it
to implement processing for SPI_GET/SETBEEP, SPI_GET/SETBORDER,
SPI_GET/SETSHOWSOUNDS system parameters.
2001-11-07 20:24:29 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Andriy Palamarchuk 676eb230e1 Added SYSMETRICS_Set.
Implemented SPI_SETSHOWSOUNDS action.
2001-10-02 18:35:32 +00:00
Andriy Palamarchuk 914a1dca85 Implemented SPI_GETSHOWSOUNDS. 2001-09-21 21:02:02 +00:00
Eric Pouech 7a9ddd4ccb Added basic support for SPI_GETSCREENREADER. 2001-05-21 18:31:49 +00:00
Alexandre Julliard c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
James Juran 36b698fc55 Add value 106 to SystemParametersInfo. 2001-04-02 19:12:22 +00:00
Chris Morgan b28e18bcc9 Replace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3. 2001-02-23 01:32:22 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00