Getting custom DPI percentage in Delphi

前端 未结 6 1943
后悔当初
后悔当初 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:59

    I think you need to mark your application as being high DPI aware by including this in your application manifest:

    
      
        true
      
    
    

    Details on declaring DPI awareness are given here.

    It seems like you are currently falling back to what is called DPI Virtualization.

提交回复
热议问题