开发者

set desktop to extend/clone in dual display in windows

开发者 https://www.devze.com 2023-03-12 15:08 出处:网络
How can I programmaticly change windows display setting from 开发者_开发问答Extend desktop to Clone desktop and the other way around ?If you are using Windows7 you can use DisplaySwitch.exe file with

How can I programmaticly change windows display setting from 开发者_开发问答Extend desktop to Clone desktop and the other way around ?


If you are using Windows7 you can use DisplaySwitch.exe file with parameters /extend and /clone


This issue isn't going to be a simple "call this method in this .NET class" I don't believe. However, it can be done using the EnumDisplaySettingsEx() API. Here is a SO question similar to yours that has the information you need to dig into this issue:

How do I enable a second monitor in C#?

0

精彩评论

暂无评论...
验证码 换一张
取 消