简单的应用程序切换主dispay [英] Simple Application to switch Primary dispay

查看:156
本文介绍了简单的应用程序切换主dispay的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前的设置为我的电脑是我的办公桌上,我的高清晰度电视17寸显示器几英尺远。每过一段时间(通常是当玩游戏)的东西更好地工作时,将我的主显示我的HDTV。我运行Vista,这样的事情可以成为一个巨大的痛苦,因为我必须要经过好几个窗口只是进行切换。

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.

我想制作一个简单的应用程序,将简单地切换我的小学和中学的显示器。我在这里看了看四周,CODEPROJECTS和MSDN库,并没有得到任何地方。任何人都知道一个基本的算法来切换显示器在C ++ / C#?

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#?

推荐答案

您知道您只需按下的Windows + P改变?您的监视器的状态

You know you can just press Windows + P to change the status of your monitors?

否则从这里开始:的 http://www.news2news.com/vfp/?example=374&ver=vcs

希望有所帮助。

这篇关于简单的应用程序切换主dispay的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆