Getting custom DPI percentage in Delphi

前端 未结 6 1942
后悔当初
后悔当初 2020-12-25 14:58

Trying to my Delphi 2010 application more user freindly in high DPI modes in Windows 7 I have been trying several methods to retrive PixelsPerInch and compare to 96. Alas, n

6条回答
  •  天涯浪人
    2020-12-25 15:43

    You could have a look at the Registry value AppliedDPI at

    HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\AppliedDPI
    

    Thanks to Andreas Rejbrand.

提交回复
热议问题