SM_C[XY]FRAME is BorderWidth + 1.

This commit is contained in:
Ove Kaaven 1999-07-03 15:39:09 +00:00 committed by Alexandre Julliard
parent 8e3201c5da
commit 5d24a3a2b0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void SYSMETRICS_Init(void)
sysMetrics[SM_CXSIZE] = sysMetrics[SM_CYCAPTION] - 2;
sysMetrics[SM_CYSIZE] = sysMetrics[SM_CXSIZE];
sysMetrics[SM_CXFRAME] = GetProfileIntA("Windows", "BorderWidth", 4);
sysMetrics[SM_CXFRAME] = GetProfileIntA("Windows", "BorderWidth", 4) + 1;
sysMetrics[SM_CYFRAME] = sysMetrics[SM_CXFRAME];
sysMetrics[SM_CXMINTRACK] = sysMetrics[SM_CXMIN];
sysMetrics[SM_CYMINTRACK] = sysMetrics[SM_CYMIN];