c++ - How to make my application DPI-aware? -


when user sets dpi scaling draw fonts , windows larger in displays, don't want application affected (i don't want application's fonts , controls larger)

i tried use setprocessdpiaware() function or add manifest file, didn't work. how can prevent windows (xp, 7 , 8) change application's font size?

you're asking wrong question. want dpi-independent. answer size in points, , relative in ems. avoid dpi , pixels completely.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -