Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing a real DPI-aware VFP application
Message
From
09/02/2021 06:03:44
 
 
To
09/02/2021 04:31:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01678100
Message ID:
01678149
Views:
62
>
>So, I'm a bit confused for what of the problems you are working.

I'll try to reinstate it.

If an application is not declared as DPI aware (that's the case for a regular VFP application) Windows will scale the application graphics objects to match the scale settings in High DPI monitors.

This degrades the quality of the output in any non-DPI aware application, but it will also hurt a VFP 9 application badly if it uses the new report engine.

If an application declares that it is DPI aware, then Windows won't scale its graphics objects, and a VFP DPI aware application will appear graphically as designed. The problem is that, per se, it won't honor the DPI scale settings if above 100%.

The problem I'm trying to address is how to turn a VFP application into a real DPI aware application, not one that just declares it is so.

[sorry if I misunderstood what is confusing you]

>Ah, and what DPI you are reading is something I'm curious all the time.

For now, just the DPI scale settings of the main monitor.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform