home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Should Mp be The Display-Aware Application
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="te3hpurp" data-source="post: 529898" data-attributes="member: 82806"><p>As M$ describes it. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>This popped into my mind one day. Methology explained here:</p><p><a href="http://msdn.microsoft.com/en-us/library/ms695534%28VS.85%29.aspx" target="_blank">The Display-Aware Application (Windows)</a></p><p></p><p>It's basically detecting when monitor is disconnected.</p><p>I mean could this be used for correcting problems with Win7, when powering off Tv and back on.</p><p></p><p>For me at least part of desktop is displayed on one side or in bottom of the screen. Of course</p><p>it could be used other things too, like closing everything that is playing, for example calling g_player to stop.</p><p>Different scenarios for behavior when display is closed should be able to set in configuration. </p><p></p><p>It's basically detecting WM_DISPLAYCHANGE message in Mediaportals WndProc(), which allready is there. WM_DISPLAYCHANGE os hex 0x007E.</p><p></p><p>Regards,</p></blockquote><p></p>
[QUOTE="te3hpurp, post: 529898, member: 82806"] As M$ describes it. ;) This popped into my mind one day. Methology explained here: [url=http://msdn.microsoft.com/en-us/library/ms695534%28VS.85%29.aspx]The Display-Aware Application (Windows)[/url] 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, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Should Mp be The Display-Aware Application
Contact us
RSS
Top
Bottom