Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Is EnableHighDPISupport needed

Post Reply
petko
Posts: 52
Joined: Sun Jul 02, 2017 9:58 am

Is EnableHighDPISupport needed

Post by petko »

Does setting EnableHighDPISupport to true change anything, if an application already has Enable HighDPI set to true in the Project Options dialog?

It looks like the Project Option is enough, but probably I am missing something here?
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Is EnableHighDPISupport needed

Post by salvadordf »

Hi,

Setting GlobalCEFApp.EnableHighDPISupport will call cef_enable_highdpi_support, which calls the Windows API function SetProcessDPIAware
https://docs.microsoft.com/en-us/window ... ssdpiaware

Read also this document for more information :
https://docs.microsoft.com/en-us/previo ... 7(v=vs.85)

If I remember correctly, setting the high DPI support in the manifest should be enough.
Post Reply