views:

20

answers:

1

In the Windows 7 "Custom DPI Setting" window, there is a setting called "Use Windows XP style DPI scaling". Does anyone know how to detect if this setting is in use?

A: 

Not sure if either of these will give you what you want but might be useful:

IsProcessDPIAware - Determines whether the current process is dots per inch (dpi) aware such that it adjusts the sizes of UI elements to compensate for the dpi setting.

Writing High-DPI Win32 Applications - Using the code in the Getting System Information section you could probably tell the difference in some way when the setting is on vs off.

ho1