Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining screen area size from VFP
Message
 
 
To
12/12/2000 15:41:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00452486
Message ID:
00452520
Views:
21
>>Is there a funtion in VFP or an API call that can be used to tell what the current screen area is set to while running my app ?
>
>The SYsMetrics() do this, but just wonder, why do you want to know?
In my case, I got lazy one day and used it to determine if two (or more) monitors were in use. Rather than use the Win32 GetSystemMetrics(SM_CMONITORS) - which only works on 98 and 2000. Or EnumDisplayMonitors which requires a callback.

This was just so that the splash screen did not land half on one display and half on the second.
censored.
Previous
Reply
Map
View

Click here to load this message in the networking platform