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

arrays - PHP Shopping Cart Variable and Object errors -

javascript - jQuery "chosen": conflict with 'selected' attribute in option tag -