Re: Setting ClearType is not working
- From: "Jeff Partch" <jeffp@xxxxxxxx>
- Date: Sun, 25 Feb 2007 20:55:36 -0600
"Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:pOjEh.35196$6L3.12422@xxxxxxxxxxxxxxx
SystemParametersInfo(SPI_SETFONTSMOOTHING,
TRUE,
0,
SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);
SystemParametersInfo(SPI_SETFONTSMOOTHINGTYPE,
FE_FONTSMOOTHINGCLEARTYPE,
0,
SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);
Executing the following code changes font smoothing to Standard rather
than ClearType. This is running on Windows XP Pro and compiled with MSVC++
6.0.
No personal experience, but according to the Oct 2001 SPI documentation:
"The pvParam parameter points to a UINT that contains ...
FE_FONTSMOOTHINGCLEARTYPE". Maybe you could try doing it that way.
--
Jeff Partch [VC++ MVP]
.
- Follow-Ups:
- Re: Setting ClearType is not working
- From: Peter Olcott
- Re: Setting ClearType is not working
- References:
- Setting ClearType is not working
- From: Peter Olcott
- Setting ClearType is not working
- Prev by Date: Re: How to overlap controls in a dialog?
- Next by Date: Re: Setting ClearType is not working
- Previous by thread: Setting ClearType is not working
- Next by thread: Re: Setting ClearType is not working
- Index(es):
Relevant Pages
|