tags:

views:

82

answers:

2

Under Windows, is there a way to determine programmatically if the primary monitor is in standby mode or not?

A: 

i dont exactly how to do it , but i remember there is a windows message for when the power management has changed..

here is an article on how to manipulate the monitor.

Codeproject

There might be a way to send a message and get a reply on the state of the monitor.

Andrew Keith
+1  A: 

http://bytes.com/topic/c-sharp/answers/441918-monitor-status

It is possible ...

Willy Denoyette's post halfway down the page has an example script.

apocalypse9