I need to check if a XP user has Smooth Edges of Screen Fonts/ClearType selected and if not, give them the option to change it. I check this by looking at the following DWORD value:
HKCU\Control Panel\Desktop - "FontSmoothingType"
Where 0=No Font Smoothing, 1=Standard and 2=ClearType
I can change this via the registry, but it doesn't apply until after reboot. If you use the display applet, it takes effect immediately.
The display properties window with the appearance tab selected can be launched with the following command:
RUNDLL32.EXE SHELL32.DLL,Control_RunDLL desk.cpl,,2
How can I programmatically open the Effects window that opens when you click on it's button?
How can I change this setting via the registry, and apply it without a reboot like the applet does?