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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -