Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen resolution
Message
De
19/06/2002 04:43:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/06/2002 03:55:10
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00670037
Message ID:
00670043
Vues:
20
>Hi,
>
>is there a way to check which screen resolution mode window is running.
>
>
>regards

You could use sysmetric() but it's unreliable version dependant. Use winAPI instead (as George Tasker provided - thanks George) :

#define SM_CXSCREEN 0 && Screen width in pixels
#define SM_CYSCREEN 1 && Screen height in pixels
#define SM_CXFULLSCREEN 16 && Client area width
#define SM_CYFULLSCREEN 17 && Client area height
DECLARE INTEGER GetSystemMetrics IN Win32API INTEGER nIndex
* Example
? GetSystemMetrics(SM_CXSCREEN)
? GetSystemMetrics(SM_CYSCREEN)
? GetSystemMetrics(SM_CXFULLSCREEN)
? GetSystemMetrics(SM_CYFULLSCREEN)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform