Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with display = 150%
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01603285
Message ID:
01603602
Vues:
141
This message has been marked as the solution to the initial question of the thread.
J'aime (1)
>Hi Christian.
>
>>Thanks, but I could not succeed making it work with the new files. I use ReportBehavior 90 and the result is the same as before. Maybe I am doing something different?
>>
>>In the meantime I found out that there is a setting in the display settings where you can set a custom text size and check "Use Windows XP style DPI scaling", which will then also work with the VFP reports.
>
>You mentioned that the VFP preview form works but not your own preview container. First, make sure the listener is using the corrected _FRXCursor.vcx; perhaps add a SET STEP ON in the CreateBandCursor method of FRXCursor. There could be several reasons why it's using a different, unchanged copy.
>
>Doug


The problem is in Windows Vista/7/8 where GetDeviceCaps() return 96 for LOGPIXELSX if display=150%
Are two ways:
- Check "Disable display scaling on high DPI settings" in exe shortcut properties on Compatibility page
- call at start application API function SetProcessDPIAware()
DECLARE INTEGER SetProcessDPIAware  in WIN32API 
?SetProcessDPIAware()
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform