Powering down a selected monitor
-
Hi, I have a media center that is activated by a remote control. My computer uses dual monitors, and I would like to make it so that the secondary monitor turns off when I start up the media software. Ive found working examples that turn off both monitors, does anyone know of a good example that will turn just one off? Cheers,
Mark Brock "We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen Click here to view my blog
-
Hi, I have a media center that is activated by a remote control. My computer uses dual monitors, and I would like to make it so that the secondary monitor turns off when I start up the media software. Ive found working examples that turn off both monitors, does anyone know of a good example that will turn just one off? Cheers,
Mark Brock "We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen Click here to view my blog
You will probably have to P/Invoke ChangeDisplaySettings http://www.xs4all.nl/~rjg70/vbapi/ref/c/changedisplaysettings.html[^] somehow? Check this example also: http://msdn.microsoft.com/en-us/library/ms812499.aspx#tbconchgscrn_gettingdisplayset[^].