Archive: Clear Type Windows Xp


Clear Type Windows Xp
Hi all,
I don't know if this is possible.

Is there a way to forse the settings of Clear Type (for font) ona windows XP when installing with NSIS?

thanks in advance

bye


Do you want to enable it for the entire system or just the installer itself?


For the entire system, I don't like the idea though.
But just want to know if it's feasible
thanks


There seems to be a way to set it in the registry.

http://www.windowsitpro.com/Article/...547/20547.html


Great! That worked.
the only thing is that I had to reboot the system to see the changes.

thanks


This might be immediate:

!define SPI_SETFONTSMOOTHING 0x4B
!define SPIF_UPDATEINIFILE 1
!define SPIF_SENDWININICHANGE 2

"System::Call user32::SystemParametersInfo(i ${SPI_SETFONTSMOOTHING}, \
i1, i0, i ${SPIF_UPDATEINIFILE}|${SPIF_SENDWININICHANGE})"