Last active
September 20, 2016 22:08
-
-
Save Swyter/bcb4eceed3bfafd73b2f81ed62cbd349 to your computer and use it in GitHub Desktop.
DESK.CPL w2003 BIG ICONS BEHAVIOR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (Use large icons) | |
| DISABLED: | |
| SystemParametersInfo(SPI_ICONHORIZONTALSPACING, 75, NULL, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| SystemParametersInfo(SPI_ICONVERTICALSPACING, 75, NULL, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| SystemParametersInfo(SPI_GETICONMETRICS, 108, ICONMETRICS pointer, 0); | |
| SystemParametersInfo(SPI_SETICONMETRICS, 108, ICONMETRICS pointer, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| ENABLED (48px desktop icons): | |
| SystemParametersInfo(SPI_ICONHORIZONTALSPACING, 91, NULL, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| SystemParametersInfo(SPI_ICONVERTICALSPACING, 91, NULL, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| SystemParametersInfo(SPI_GETICONMETRICS, 108, ICONMETRICS pointer, 0); | |
| SystemParametersInfo(SPI_SETICONMETRICS, 108, ICONMETRICS pointer, SPIF_SENDWININCHANGE | SPIP_UPDATEINIFILE); | |
| typedef struct ICONMETRICS { | |
| UINT cbSize; 6c (108) SM / LG | |
| int iHorzSpacing; 4b (75) / 5b (91) | |
| int iVertSpacing; 4b (75) / 5b (91) | |
| int iTitleWrap; 1 / 1 | |
| LOGFONT lfFont; ... | |
| } ICONMETRICS, *PICONMETRICS, *LPICONMETRICS; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment