Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen resolution for the second monitor
Message
From
28/02/2013 18:16:29
 
 
To
28/02/2013 17:42:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01567199
Message ID:
01567202
Views:
51
>how can I detect the resolutions of the second monitor?
>thanks for the help
>Jerry


In C++ there is a Win32 function EnumDisplaySettings() which gives us information about each one (retrieved from EnumDisplayDevices()): http://msdn.microsoft.com/en-us/library/windows/desktop/dd162611%28v=vs.85%29.aspx

In C++ it's easily parsed and that information can be returned back to VFP through a few simple DLL calls. In pure VFP I don't think there's a way to do it outside of possibly wrapper calls, or maybe knowing where to look in the registry?
Previous
Reply
Map
View

Click here to load this message in the networking platform