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