As M$ describes it.
This popped into my mind one day. Methology explained here:
The Display-Aware Application (Windows)
It's basically detecting when monitor is disconnected.
I mean could this be used for correcting problems with Win7, when powering off Tv and back on.
For me at least part of desktop is displayed on one side or in bottom of the screen. Of course
it could be used other things too, like closing everything that is playing, for example calling g_player to stop.
Different scenarios for behavior when display is closed should be able to set in configuration.
It's basically detecting WM_DISPLAYCHANGE message in Mediaportals WndProc(), which allready is there. WM_DISPLAYCHANGE os hex 0x007E.
Regards,
This popped into my mind one day. Methology explained here:
The Display-Aware Application (Windows)
It's basically detecting when monitor is disconnected.
I mean could this be used for correcting problems with Win7, when powering off Tv and back on.
For me at least part of desktop is displayed on one side or in bottom of the screen. Of course
it could be used other things too, like closing everything that is playing, for example calling g_player to stop.
Different scenarios for behavior when display is closed should be able to set in configuration.
It's basically detecting WM_DISPLAYCHANGE message in Mediaportals WndProc(), which allready is there. WM_DISPLAYCHANGE os hex 0x007E.
Regards,