Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find zoom level
Message
De
28/11/2020 09:41:09
 
 
À
28/11/2020 09:36:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01677297
Message ID:
01677307
Vues:
44
Hi!

>What I do in my listener: (VFPA, VFP9 reports in scaled monitors are crap)

I tried
DECLARE INTEGER GetDpiForWindow IN user32.DLL LONG HWND
DECLARE INTEGER GetDesktopWindow IN user32.DLL
SET DECIMALS TO 5
? GetDpiForWindow(_SCREEN.HWND),GetDpiForWindow(GetDesktopWindow())
?GetDpiForWindow(_SCREEN.HWND)/GetDpiForWindow(GetDesktopWindow())
output is 96 , 96 and scaling is 1. How to get expected value 1.25 as shown in windows ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform