Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Resolution
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00571018
Message ID:
00571020
Views:
22
>Anyone know how I can determine the resultion of a PC, e.g. 640x480
>or 800x600 or 1024x768?
>

Hi Kevin,

Look at the SysMetric function.

Doug

Example ...

DO CASE
CASE SYSMETRIC(1) < 800 OR SYSMETRIC(2) < 600
MessageBox('Your display must be set to at least SVGA (800 x 600) resolution', 0, _vfi)

CASE SYSMETRIC(1) <= 1024 AND SYSMETRIC(2) <= 768 && Screen width/height
ENDCASE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform