切换主显示器的简单应用程序
我当前的计算机设置是在办公桌上放置一台 17 英寸显示器,在几英尺外放置高清电视。每隔一段时间(通常是玩游戏时),当我将主显示器切换到高清电视时,效果会更好。我运行的是 Vista,所以事情可能会变得非常痛苦,因为我必须通过几个窗口才能切换。
我正在考虑制作一个简单的应用程序,它可以简单地切换我的主显示器和辅助显示器。我环顾四周,查看了 codeprojects 和 MSDN 库,但一无所获。有人知道 C++/C# 中切换显示器的基本算法吗?
My current set up for my computer is with a 17 inch monitor on my desk and my HDTV a few feet away. Every once in a while (generally when playing games) things work better when I switch my primary display to my HDTV. I'm running vista, so things can become a huge pain, as I have to go through several windows just to switch.
I'm thinking of making a simple application that will simply switch my primary and secondary monitors. I've looked around here, codeprojects and the MSDN library and haven't gotten anywhere. Anyone know a basic algorithm to switch the monitors in C++/C#?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您知道只需按 Windows + P 即可更改显示器的状态吗?
否则从这里开始: http://www.news2news.com/vfp/?example =374&ver=vcs
希望有帮助。
You know you can just press Windows + P to change the status of your monitors?
Otherwise start here: http://www.news2news.com/vfp/?example=374&ver=vcs
Hope that helps.