Ignore:
Timestamp:
Sep 4, 1999, 9:42:30 PM (26 years ago)
Author:
sandervl
Message:

Dialog changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/user32.cpp

    r808 r821  
    1 /* $Id: user32.cpp,v 1.17 1999-09-03 15:09:44 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.18 1999-09-04 19:42:28 sandervl Exp $ */
    22
    33/*
     
    11881188}
    11891189//******************************************************************************
     1190/* Not support by Open32 (not included are the new win9x parameters):
     1191      case SPI_GETFASTTASKSWITCH:
     1192      case SPI_GETGRIDGRANULARITY:
     1193      case SPI_GETICONTITLELOGFONT:
     1194      case SPI_GETICONTITLEWRAP:
     1195      case SPI_GETMENUDROPALIGNMENT:
     1196      case SPI_ICONHORIZONTALSPACING:
     1197      case SPI_ICONVERTICALSPACING:
     1198      case SPI_LANGDRIVER:
     1199      case SPI_SETFASTTASKSWITCH:
     1200      case SPI_SETGRIDGRANULARITY:
     1201      case SPI_SETICONTITLELOGFONT:
     1202      case SPI_SETICONTITLEWRAP:
     1203      case SPI_SETMENUDROPALIGNMENT:
     1204      case SPI_GETSCREENSAVEACTIVE:
     1205      case SPI_GETSCREENSAVETIMEOUT:
     1206      case SPI_SETDESKPATTERN:
     1207      case SPI_SETDESKWALLPAPER:
     1208      case SPI_SETSCREENSAVEACTIVE:
     1209      case SPI_SETSCREENSAVETIMEOUT:
     1210*/
    11901211//******************************************************************************
    11911212BOOL WIN32API SystemParametersInfoA(UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni)
     
    12251246        break;
    12261247    case SPI_GETICONTITLELOGFONT:
     1248    {
     1249        LPLOGFONTA lpLogFont = (LPLOGFONTA)pvParam;
     1250
     1251        /* from now on we always have an alias for MS Sans Serif */
     1252        strcpy(lpLogFont->lfFaceName, "MS Sans Serif");
     1253        lpLogFont->lfHeight = -GetProfileIntA("Desktop","IconTitleSize", 8);
     1254        lpLogFont->lfWidth = 0;
     1255        lpLogFont->lfEscapement = lpLogFont->lfOrientation = 0;
     1256        lpLogFont->lfWeight = FW_NORMAL;
     1257        lpLogFont->lfItalic = FALSE;
     1258        lpLogFont->lfStrikeOut = FALSE;
     1259        lpLogFont->lfUnderline = FALSE;
     1260        lpLogFont->lfCharSet = ANSI_CHARSET;
     1261        lpLogFont->lfOutPrecision = OUT_DEFAULT_PRECIS;
     1262        lpLogFont->lfClipPrecision = CLIP_DEFAULT_PRECIS;
     1263        lpLogFont->lfPitchAndFamily = DEFAULT_PITCH | FF_SWISS;
    12271264        break;
    1228 
     1265    }
    12291266    case SPI_GETBORDER:
    12301267        *(INT *)pvParam = GetSystemMetrics( SM_CXFRAME );
     
    12831320        pvParamA = &clientMetricsA;
    12841321        break;
     1322    case SPI_GETICONTITLELOGFONT:
     1323    {
     1324        LPLOGFONTW lpLogFont = (LPLOGFONTW)pvParam;
     1325
     1326        /* from now on we always have an alias for MS Sans Serif */
     1327        lstrcpyW(lpLogFont->lfFaceName, (LPCWSTR)L"MS Sans Serif");
     1328        lpLogFont->lfHeight = -GetProfileIntA("Desktop","IconTitleSize", 8);
     1329        lpLogFont->lfWidth = 0;
     1330        lpLogFont->lfEscapement = lpLogFont->lfOrientation = 0;
     1331        lpLogFont->lfWeight = FW_NORMAL;
     1332        lpLogFont->lfItalic = FALSE;
     1333        lpLogFont->lfStrikeOut = FALSE;
     1334        lpLogFont->lfUnderline = FALSE;
     1335        lpLogFont->lfCharSet = ANSI_CHARSET;
     1336        lpLogFont->lfOutPrecision = OUT_DEFAULT_PRECIS;
     1337        lpLogFont->lfClipPrecision = CLIP_DEFAULT_PRECIS;
     1338        lpLogFont->lfPitchAndFamily = DEFAULT_PITCH | FF_SWISS;
     1339        return TRUE;
     1340    }
    12851341    default:
    12861342        pvParamA = pvParam;
Note: See TracChangeset for help on using the changeset viewer.