Index: dll/win32/comctl32/tooltips.c =================================================================== --- dll/win32/comctl32/tooltips.c (revision 72622) +++ dll/win32/comctl32/tooltips.c (working copy) @@ -189,6 +189,9 @@ TOOLTIPS_InitSystemSettings (TOOLTIPS_INFO *infoPtr) { NONCLIENTMETRICSW nclm; +#ifdef __REACTOS__ + OSVERSIONINFO osvinfo; +#endif infoPtr->clrBk = comctl32_color.clrInfoBk; infoPtr->clrText = comctl32_color.clrInfoText; @@ -195,7 +198,17 @@ DeleteObject (infoPtr->hFont); nclm.cbSize = sizeof(nclm); +#ifdef __REACTOS__ + memset(&osvinfo, 0, sizeof(osvinfo)); + osvinfo.dwOSVersionInfoSize = sizeof(osvinfo); + GetVersionEx(&osvinfo); + if (osvinfo.dwMajorVersion < 6) + nclm.cbSize -= sizeof(nclm.iPaddedBorderWidth); + + SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, nclm.cbSize, &nclm, 0); +#else SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, sizeof(nclm), &nclm, 0); +#endif infoPtr->hFont = CreateFontIndirectW (&nclm.lfStatusFont); DeleteObject (infoPtr->hTitleFont);