Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • If the application is checking the resolution at startup for a reason (and not just for annoying the user), high DPI awareness will not be a solution: UI elements won't fit available space. In that case using the compatibility setting that disables display scaling for that application might be the only solution (short of forcing the user to change DPI setting for the system/monitor). Commented Dec 24, 2014 at 20:52
  • @Sertac High DPI with no scaling would allow the app to run, though the user would be pissed off. That's pretty much the same as disabling scaling. Commented Dec 24, 2014 at 20:58
  • Yes, I saw the edit, +1. Compatibility setting might still be preferred though, to give the user an option, he/she may have larger monitor etc.. Commented Dec 24, 2014 at 20:59
  • David responded, "Best practice is to declare your application to be high DPI aware..." And how would I go about doing such a thing using Delphi 3? Commented Dec 24, 2014 at 21:01
  • Same as in any Windows app. Add the DPI aware settings to your app manifest. Do you have one? And you'd also need to scale the ui of your app. Not a trivial task. I added a useful link at the bottom of my answer. Commented Dec 24, 2014 at 21:02