Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DPI aware, finally
Message
De
13/09/2022 05:35:10
 
 
À
12/09/2022 15:32:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01684951
Message ID:
01684955
Vues:
75
>Hi All,
>
>I've finally figured out how to make my app DPI aware by accessing the property sheet of the exe>Compatibility>Change settings for all users>Change high DPI settings and checking the Program DPI box>set Use the DPI...to I open this program>check Override... and set to System. I've tried the manifest route, all kinds of different settings, never could get it to work. But this works! What I'd like to do now is to change all these settings programmatically via Win API, and not have to tell my users to go through what I've just described above. Does anyone know how I can do that?
>
>Thanks.
>
>Luke

Luke, I've been using manifest files in my VFP9 projects with no problems at all, and being able to make the applications fully DPI-Aware (not just pretending to be DPI-Aware).

Nevertheless, here is a link to an article on what you were asking for (obviously, untested...):

https://docs.microsoft.com/pt-pt/archive/blogs/technet/mspfe/disabling-dpi-scaling-on-windows-8-1-the-enterprise-way
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform