Share via

How to detect current display setting (i.e. extended, duplicate, etc)

Anonymous
2014-04-11T16:52:42+00:00

I have a C# app that uses DisplaySwitch.exe to change the display setting to internal while it is running. 

The issue is it needs to detect the computer's current setting before changing it so when the app is done it can restore it to the original setting. 

I have found different examples on display settings for size, resolution etc., but not for whether the display is on internal monitor, external monitor, extended or duplicated.

I need to do this on all versions of Windows from XP to current.

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2014-04-12T11:56:30+00:00

Hello Henry,

The issue you posted is more complex than what is answered in the Community forums and would be better suited in the TechNet community.

Please visit the link below to find a community that will offer the best support.

https://social.technet.microsoft.com/Forums/en-US/home?category=w7itpro

Hope this information is helpful. Please do let us know if you need further assistance with Windows, we’ll be glad to assist you.

Thank you.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2014-04-14T13:01:14+00:00

    Thank you

    Was this answer helpful?

    0 comments No comments