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

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -