Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form resolution
Message
 
À
23/02/2000 07:06:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00335513
Message ID:
00336574
Vues:
20
I did not not know that! Thanks for sharing it!


>>>I´m having the same problem, I believe that it would owe there be any way of detecting the resolution of the video and auto configure the system.
>>Try this:
>>DECLARE INTEGER GetSystemMetrics IN USER32 AS GetSystemMetrics INTEGER
>>if GetSystemMetrics(0)<1024.or.GetSystemMetrics(1)<768
>> ?? chr(7)
>> ?? chr(7)
>> ?? chr(7)
>> messagebox([Screen resolution must be at least 1024 x 768.])
>> quit
>>Endif && Expired use license
>
>Quite useable, but in VFP a little easier to use the native SYSMETRIC() command.
>
>SYSMETRIC(1) = Screen resolution width
>SYSMETRIC(2) = Screen resolution height
>
>You can get most ( but not all ) resolution issue quantities from SYSMETRIC().
>
>Bill
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform