Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Resolution
Message
 
À
12/09/1998 15:38:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135579
Message ID:
00135837
Vues:
8
Hi,
If u r interested in finding out the resolution U can try out simply with a function:
sysmetric()
i.e. use it as
sysmetric(1)
sysmetric(2)

and u'll get the resolution.

thanks
Aashish

>>>Hello All,
>>>
>>>I am just trying to find a quick and easy way to determine the current resolution. I have found the Win API routine EnumDisplaySettings, but am wondering if anyone already has a routine in VFP to utilize this API routine.
>>>
>>>Thanks
>>>Doug Stalter
>>
>>If you have _Screen or TopForm.Windowstate=2 then you can just check Height and Width properties to get display resolution.
>
>Nice, but what if you have only one form, and it's a desktop form, and _screen.visible=.f. ?
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform