Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Resolution
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00571018
Message ID:
00571020
Vues:
21
>Anyone know how I can determine the resultion of a PC, e.g. 640x480
>or 800x600 or 1024x768?
>

Hi Kevin,

Look at the SysMetric function.

Doug

Example ...

DO CASE
CASE SYSMETRIC(1) < 800 OR SYSMETRIC(2) < 600
MessageBox('Your display must be set to at least SVGA (800 x 600) resolution', 0, _vfi)

CASE SYSMETRIC(1) <= 1024 AND SYSMETRIC(2) <= 768 && Screen width/height
ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform