Search code examples
c#windowsscreenmultiple-monitorswin64

How can I programatically control multi-display setup?


I use a laptop +a widescreen monitor, as dual screen setup. Half the time when I reconnect the laptop back after working on it standalone , the dual-screen settings gets automatically switched to "single screen" and I have to go and switch it back.

How can I do that programatically?


Solution

  • there is a keyboard shortcut
    [Windows key] + [P]