Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get windows desktop dimensions
Message
 
 
To
25/04/2003 10:13:46
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00781479
Message ID:
00781481
Views:
14
>Hi
>I want to get the height and width of the user's desktop. I know I have to use GetWindowRect in the WIN32API but am confused about how to get the 4 parameters it should return (height, width, top, left) into foxfro numeric variables.
>Any help available?
>Cheers
Hi Neil,

You can use VFP SYSMETRIC(0 function.
? SYSMETRIC(1)		&& WIdth
? SYSMETRIC(2)		&& Height
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform