Simple Application to switch Primary dispay

五迷三道 提交于 2019-12-02 05:53:28

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/7637980/simple-application-to-switch-primary-dispay

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!