Page 1 of 1

Is EnableHighDPISupport needed

Posted: Thu Oct 31, 2019 5:27 pm
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?

Re: Is EnableHighDPISupport needed

Posted: Thu Oct 31, 2019 5:52 pm
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.