0

When the monitor is turned off, i receive a 'WM_SYSCOMMAND' message with 'SC_MONITORPOWER' as the wParam and '2' as the lParam. However no message is received when the monitor is turned back on.

Is there a different command that I should be listening for in case of 'MONITOR ON' message or is there any other way of determining when a monitor connected to the PC is turned on/off?

thunderbird
  • 2,557
  • 4
  • 25
  • 50

0 Answers0