Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing a real DPI-aware VFP application
Message
De
05/02/2021 17:15:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Writing a real DPI-aware VFP application
Divers
Thread ID:
01678100
Message ID:
01678100
Vues:
181
J'aime (1)
Dear All,

By integrating a manifest into our executable applications, we know how to avoid the nasty effects of DPI scaling in modern Windows. Our screens won't be looking fuzzy, and our 9.0 reports will be displayed as designed.

A manifest, however, solves only part of the problem. Our applications still render at 100% DPI scaling, and we're failing to honor the settings of choice of the users.

I was thinking of adapting one of the available resizer class to (preferably automatically) adjust the size of forms and controls to the current display scaling. Instead of reacting to the windows' resizing, the target is to set the controls' dimensional and positional properties once the application instantiates a form.

Even if I expect some challenging hurdles, like adjusting the menu system, I'm looking for recommendations on the resizer class of your preference. Or authoring! I don't mind a full code rewrite - in reality, I'm also expecting it - but I will welcome good, stable, and tested ideas, no matter their current form, together with a discussion and guidance on this topic.

The result, if successful, will be available in open-source, with all due credits.
----------------------------------
António Tavares Lopes
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform