Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing a real DPI-aware VFP application
Message
De
09/02/2021 06:03:44
 
 
À
09/02/2021 04:31:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01678100
Message ID:
01678149
Vues:
59
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform