Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen resolution for the second monitor
Message
De
28/02/2013 18:16:29
 
 
À
28/02/2013 17:42:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01567199
Message ID:
01567202
Vues:
52
>how can I detect the resolutions of the second monitor?
>thanks for the help
>Jerry


In C++ there is a Win32 function EnumDisplaySettings() which gives us information about each one (retrieved from EnumDisplayDevices()): http://msdn.microsoft.com/en-us/library/windows/desktop/dd162611%28v=vs.85%29.aspx

In C++ it's easily parsed and that information can be returned back to VFP through a few simple DLL calls. In pure VFP I don't think there's a way to do it outside of possibly wrapper calls, or maybe knowing where to look in the registry?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform