[PSS2017] Set DPI Compatibility when in Debug

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
Posts: 30
Joined: Mon Apr 09, 2012 1:45 am

[PSS2017] Set DPI Compatibility when in Debug

Post by datacore.glenn »


I have a number of GUI projects which are quite sizeable and therefore which I shan't be adapting to make use of DPI-awareness any time soon. In fact, it is more likely that they will be refactored to use XAML and WPF controls. However in the interim I still need to make minor modifications periodically.

Working on a high DPI system, I find that the compiled .exe will scale correctly if I first set the display compatibility within the properties of said executable. If I do this, then the forms will render themselves exactly as they would on our low DPI target systems.

However this doesn't work when I am running the project in PSS Debug. Is it technically possibly that this might be made an option? With the debug host making use of OS-provided compatibility settings?

DPI_Compatibility.png (26.01 KiB) Viewed 980 times

User avatar
Alexander Riedel
Posts: 7501
Joined: Tue May 29, 2007 4:43 pm

Re: [PSS2017] Set DPI Compatibility when in Debug

Post by Alexander Riedel »

[Topic moved to correct forum by moderator]

Please make sure to always post in the correct forum and answer the version questions usually accompanying a new post. It will allow us to help you quicker.

Please provide the version information for PowerShell Studio and Windows. Additionally, all packaged applications and running in the debugger *should* be DPI aware without additional settings, unless you disabled manifests system wide or are using a different Windows version than we test with.
In order to determine how to help you, please post screenshots of the differences you see.
We will try to replicate your results and see what we can do.
Alexander Riedel
SAPIEN Technologies, Inc.