Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get windows desktop dimensions
Message
 
 
À
25/04/2003 10:13:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00781479
Message ID:
00781481
Vues:
15
>Hi
>I want to get the height and width of the user's desktop. I know I have to use GetWindowRect in the WIN32API but am confused about how to get the 4 parameters it should return (height, width, top, left) into foxfro numeric variables.
>Any help available?
>Cheers
Hi Neil,

You can use VFP SYSMETRIC(0 function.
? SYSMETRIC(1)		&& WIdth
? SYSMETRIC(2)		&& Height
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform