mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)
Fix user32!GetSystemMetrics values. CORE-16547 SM_MENUDROPALIGNMENT and SM_CXSMSIZE
This commit is contained in:
parent
3d4a557db3
commit
eba2d5d30a
2 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ HKCU,"Control Panel\Desktop\WindowMetrics","ScrollWidth",2,"16"
|
|||
HKCU,"Control Panel\Desktop\WindowMetrics","ScrollHeight",2,"16"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","CaptionWidth",2,"18"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","CaptionHeight",2,"18"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","SmCaptionWidth",2,"13"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","SmCaptionWidth",2,"12"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","SmCaptionHeight",2,"15"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","MenuWidth",2,"18"
|
||||
HKCU,"Control Panel\Desktop\WindowMetrics","MenuHeight",2,"18"
|
||||
|
|
|
@ -257,7 +257,7 @@ SpiUpdatePerUserSystemParameters(VOID)
|
|||
gspv.ncm.iCaptionWidth = SpiLoadMetric(L"CaptionWidth", 19);
|
||||
gspv.ncm.iCaptionHeight = SpiLoadMetric(L"CaptionHeight", 19);
|
||||
gspv.ncm.iSmCaptionWidth = SpiLoadMetric(L"SmCaptionWidth", 12);
|
||||
gspv.ncm.iSmCaptionHeight = SpiLoadMetric(L"SmCaptionHeight", 14);
|
||||
gspv.ncm.iSmCaptionHeight = SpiLoadMetric(L"SmCaptionHeight", 15);
|
||||
gspv.ncm.iMenuWidth = SpiLoadMetric(L"MenuWidth", 18);
|
||||
gspv.ncm.iMenuHeight = SpiLoadMetric(L"MenuHeight", 18);
|
||||
#if (WINVER >= 0x0600)
|
||||
|
@ -305,7 +305,7 @@ SpiUpdatePerUserSystemParameters(VOID)
|
|||
gspv.bBeep = TRUE;
|
||||
gspv.uiFocusBorderWidth = 1;
|
||||
gspv.uiFocusBorderHeight = 1;
|
||||
gspv.bMenuDropAlign = 1;
|
||||
gspv.bMenuDropAlign = 0;
|
||||
gspv.dwMenuShowDelay = 100;
|
||||
gspv.dwForegroundFlashCount = 3;
|
||||
|
||||
|
|
Loading…
Reference in a new issue