Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Resolution
Message
 
To
12/09/1998 15:38:29
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00135579
Message ID:
00135837
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform