1

When a user sets the DPI scaling to draw fonts and windows larger in all displays, I don't want my application to be affected (I don't want my application's fonts and controls get larger)

I tried to use SetProcessDPIAware() function or add a manifest file, but it didn't work. How can I prevent windows (XP, 7 and 8) to change my application's font size?

  • 1
    Current medium-high resolution screens are already causing users to complain "Text is miniscule! Menus are unreadable!" for [badly written interfaces](http://forums.adobe.com/message/6183761). Imagine >300dpi screens, 'coming soon'. It begs the question, **why** would you want this? – Jongware Apr 22 '14 at 10:50

1 Answers1

0

You're asking the wrong question. You want it to be DPI-independent. The answer is to size everything in points, and everything relative to that in ems. Avoid DPI and pixels completely.

user207421
  • 305,947
  • 44
  • 307
  • 483