Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check Screen Resolution
Message
De
02/10/2002 15:59:22
Fabian Belo
Independent Developer
Argentine
 
 
À
02/10/2002 15:51:35
Fabian Belo
Independent Developer
Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00707026
Message ID:
00707059
Vues:
23
There's a useful API too...
#define SM_CXSCREEN 0           && Screen Width 
#define SM_CYSCREEN 1           && Screen Height  
#define SM_CXFULLSCREEN 16 && Widht (Client area)
#define SM_CYFULLSCREEN 17 && Height (Client area)

DECLARE INTEGER GetSystemMetrics IN Win32API;
INTEGER nIndex

? GetSystemMetrics(SM_CXSCREEN)
? GetSystemMetrics(SM_CYSCREEN)
? GetSystemMetrics(SM_CXFULLSCREEN)
? GetSystemMetrics(SM_CYFULLSCREEN) 
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform