[ros-diffs] [mkupfer] 50524: - save the KeyboardCues value correctly
mkupfer at svn.reactos.org
mkupfer at svn.reactos.org
Thu Jan 27 23:53:58 UTC 2011
Author: mkupfer
Date: Thu Jan 27 23:53:57 2011
New Revision: 50524
URL: http://svn.reactos.org/svn/reactos?rev=50524&view=rev
Log:
- save the KeyboardCues value correctly
Modified:
trunk/reactos/dll/cpl/desk/theme.c
Modified: trunk/reactos/dll/cpl/desk/theme.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.c?rev=50524&r1=50523&r2=50524&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] Thu Jan 27 23:53:57 2011
@@ -307,7 +307,7 @@
theme->Effects.bTooltipAnimation = theme->Effects.bMenuAnimation;
theme->Effects.bTooltipFade = theme->Effects.bMenuFade;
SystemParametersInfo(SPI_SETDRAGFULLWINDOWS, theme->Effects.bDragFullWindows, (PVOID)&theme->Effects.bDragFullWindows, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- UPDATE_USERPREF(KEYBOARDCUES, &theme->Effects.bKeyboardCues);
+ SystemParametersInfo(SPI_SETKEYBOARDCUES, 0, IntToPtr(theme->Effects.bKeyboardCues), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
//UPDATE_USERPREF(ACTIVEWINDOWTRACKING, &theme->Effects.bActiveWindowTracking);
//UPDATE_USERPREF(MENUANIMATION, &theme->Effects.bMenuAnimation);
//UPDATE_USERPREF(COMBOBOXANIMATION, &theme->Effects.bComboBoxAnimation);
More information about the Ros-diffs
mailing list