Changeset 821 for trunk/src/user32/new/user32.cpp
- Timestamp:
- Sep 4, 1999, 9:42:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/user32.cpp
r808 r821 1 /* $Id: user32.cpp,v 1.1 7 1999-09-03 15:09:44sandervl Exp $ */1 /* $Id: user32.cpp,v 1.18 1999-09-04 19:42:28 sandervl Exp $ */ 2 2 3 3 /* … … 1188 1188 } 1189 1189 //****************************************************************************** 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 */ 1190 1211 //****************************************************************************** 1191 1212 BOOL WIN32API SystemParametersInfoA(UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni) … … 1225 1246 break; 1226 1247 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; 1227 1264 break; 1228 1265 } 1229 1266 case SPI_GETBORDER: 1230 1267 *(INT *)pvParam = GetSystemMetrics( SM_CXFRAME ); … … 1283 1320 pvParamA = &clientMetricsA; 1284 1321 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 } 1285 1341 default: 1286 1342 pvParamA = pvParam;
Note:
See TracChangeset
for help on using the changeset viewer.