svn path=/trunk/; revision=74256
gspv.tmCaptionFont.tmAveCharWidth = 6;
gspv.bBeep = TRUE;
gspv.tmCaptionFont.tmAveCharWidth = 6;
gspv.bBeep = TRUE;
- gspv.bFlatMenu = FALSE;
gspv.uiFocusBorderWidth = 1;
gspv.uiFocusBorderHeight = 1;
gspv.bMenuDropAlign = 1;
gspv.uiFocusBorderWidth = 1;
gspv.uiFocusBorderHeight = 1;
gspv.bMenuDropAlign = 1;
gspv.dwMenuShowDelay = 100;
gspv.dwForegroundFlashCount = 3;
gspv.dwMenuShowDelay = 100;
gspv.dwForegroundFlashCount = 3;
return SpiSetBool(&gspv.bMouseVanish, uiParam, KEY_MOUSE, L"", fl);
case SPI_GETFLATMENU:
return SpiSetBool(&gspv.bMouseVanish, uiParam, KEY_MOUSE, L"", fl);
case SPI_GETFLATMENU:
- return SpiGetInt(pvParam, &gspv.bFlatMenu, fl);
+ return SpiGetUserPref(UPM_FLATMENU, pvParam, fl);
- return SpiSetBool(&gspv.bFlatMenu, (BOOL)pvParam, KEY_MOUSE, L"", fl);
+ return SpiSetUserPref(UPM_FLATMENU, pvParam, fl);
- return SpiGetInt(pvParam, &gspv.bDropShadow, fl);
+ return SpiGetUserPref(UPM_DROPSHADOW, pvParam, fl);
- return SpiSetBool(&gspv.bDropShadow, uiParam, KEY_MOUSE, L"", fl);
+ return SpiSetUserPref(UPM_DROPSHADOW, pvParam, fl);
case SPI_GETBLOCKSENDINPUTRESETS:
return SpiGetInt(pvParam, &gspv.bBlockSendInputResets, fl);
case SPI_GETBLOCKSENDINPUTRESETS:
return SpiGetInt(pvParam, &gspv.bBlockSendInputResets, fl);
UPM_TOOLTIPFADE = 0x1000,
UPM_CURSORSHADOW = 0x2000,
UPM_CLICKLOCK = 0x8000,
UPM_TOOLTIPFADE = 0x1000,
UPM_CURSORSHADOW = 0x2000,
UPM_CLICKLOCK = 0x8000,
+ UPM_FLATMENU = 0x20000,
+ UPM_DROPSHADOW = 0x40000,
// room for more
UPM_UIEFFECTS = 0x80000000,
UPM_DEFAULT = 0x80003E9E
// room for more
UPM_UIEFFECTS = 0x80000000,
UPM_DEFAULT = 0x80003E9E
UINT uiFontSmoothingOrientation;
BOOL bDragFullWindows;
BOOL bMenuDropAlign;
UINT uiFontSmoothingOrientation;
BOOL bDragFullWindows;
BOOL bMenuDropAlign;
BOOL bBlockSendInputResets;
#if(_WIN32_WINNT >= 0x0600)
BOOL bClearType;
BOOL bBlockSendInputResets;
#if(_WIN32_WINNT >= 0x0600)
BOOL bClearType;