Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form resolution
Message
 
To
23/02/2000 07:06:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00335513
Message ID:
00336574
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform