Hi,
Have a look at this post, which contains a link to another valid post. https://community.appeon.com/index.php/qna/q-a/datawindow-distortion-dpi-scaling-125
Basically, what you have to do is create a .....manifest file (preceded with the name of your exe).
You then specify that manifest to be used in your Project, by using this setting: "External Manifest". (Please correct me if I'm wrong, it's been a while since I've used this and I cannot find the post where someone explained this).
See the attached file for an example of a manifest. You'll have to unzip it and then rename it to fit your executable name.
Though it did improve a lot of problems when having 125% scaling, it caused us some other problems of not resizing (PFC based) some pictures on datawindows, so we ended up not using it and telling our customers to work on 100% scaling.