Re: Setting ClearType is not working



"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]


.



Relevant Pages

  • Re: Visual Basic .NET 2003 Standard
    ... I bought the "Visual Basic .NET 2003 Standard" ... however it seems that this doesn't work on my Windows ME ... I have XP Pro at work fortunately, ...
    (microsoft.public.cert.exam.mcad)
  • Re: Visio2003 Pro - what means "Windows XP User Interface" feature ?
    ... It has a template with xp-ui graphics for illustration purposes ... >I want to buy a Visio2003 and am reading the Standard vs. Pro version ... > At one point, for Pro version, one item says "Windows XP User ...
    (microsoft.public.visio.general)
  • Setting ClearType is not working
    ... 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. ...
    (microsoft.public.vc.mfc)
  • ClearType causing black and white text to print in color!
    ... I can't believe nobody else has posted on ... I have Windows XP Pro with ... ClearType turned on, using an NEC LCD1712 flat panel monitor. ...
    (microsoft.public.windowsxp.general)
  • Re: subquery dreadfully slow
    ... PS im using SQL 2005 standard on Windows 2000 pro. ... i dont know how i got Windows 2000 pro to install 2005 standard; ...
    (microsoft.public.sqlserver)

Quantcast