I am using VSTS 2008 + C#. Is there any way to get the informaiton like, whether we are currently in dual monitor mode, how much is the current resolution of each desktop?
BTW: there are two modes of dual screen, duplicate screen or extended screen. I need a solution as well to distinguish between the different modes.
thanks in advance, George
System.Windows.Forms.Screen.AllScreens
Gets an array of all displays on the system.
The property Primary
Gets a value indicating whether a particular display is the primary device.
And the Bounds property may be the solution for the rest.
System.Windows.Forms.SystemInformation.VirtualScreen Property
Might be usefull for you, to determine if the primary monitor is cloned or extended.
VirtualScreen resolution higher than the ones of primary -> extended...
VirtualScreen resolution = the ones of primary -> cloned...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With