Question : How can I detect "Larger Font" setting in Win 7?

I have a problem detecting that Windows 7 with Aero is set in "Larger 150%" mode.

Here is a matrix of values that I can detect to determine the font setting:
In Windows XP:
Set to:            OS   Aero      DPI   Title Bar Height
 Normal:,            5.1,      False,   96,    26
 Large:,            5.1,      False,   96,    30
 Extra Large:  5.1,   False,   96     36
      
In Win 7 (Aero Mode)  
Set to:                             OS   Aero    DPI   Title Bar Height
Smaller 100% (default):,  6.1, True,   96,   22
Medium 125%:,                6.1, True,   120,  27
Larger 150%:,                 6.1, True,    96,   22

In Win 7 (Non Aero Mode)      
Set to:                              OS   Aero    DPI   Title Bar Height
Smaller 100% (default):,  6.1,  False,  96,   19
Medium 125%:,                6.1,  False,  120,  24
Larger 150%:,                 6.1,  False,  144,  29

Note that Windows 7 when set to "Larger Font 150% returns a DPI of 144 in non-Aero mode but 96 when in Aero mode.  That means that my matrix of values in Windows 7 Aero mode shows the same values whether it is in Smaller (default) or Larger mode.

I'm not sure what the results will be in Vista as I do not have a Vista system available so I may be asking a similar question for Vista.

The current question however is:  How can I detect "Larger" mode in Win 7 Aero?

I don't need full code - all I need is to find a "get-able" property that is guaranteed to be different between
Win7-Aero-smaller fonts and Win7-Aero-Larger Fonts.

When switched into "Larger Font" mode, btw, my 1600 by 1200 LCD monitor show a resolution of 1057 by 800.

Answer : How can I detect "Larger Font" setting in Win 7?

Hi.
Did you ever monitor the registry while changing the value? You can use procmon to do it or record the changes with wininstall LE (by scalable software) or with regshot. All I know is that starting with windows 7, it's a per user setting, which makes machine wide detection more complicated.
Random Solutions  
 
programming4us programming4us