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: 530812" data-attributes="member: 82806"><p>Hi.</p><p>In case someone is interested</p><p>I tested a bit. </p><p></p><p>[CODE] if (msg.Msg == 0x007E)</p><p> {</p><p> if (g_Player.Playing)</p><p> {</p><p> g_Player.Stop();</p><p> }</p><p> if (!windowed)</p><p> {</p><p> int y = (msg.LParam.ToInt32() >> 16) & 0xFFFF;</p><p> int x = (msg.LParam.ToInt32() & 0x0000FFFF);</p><p> this.Height = y;</p><p> this.Width = x; </p><p> this.Location = new Point(0, 0);</p><p> }</p><p> }[/CODE]</p><p></p><p>in Mediaportal.cs in wndproc, gives the result that i wanted in Win 7. When i turn off/on my tv,</p><p>Mp now corrects itself to fill the whole screen. </p><p></p><p>In real life 0x007E should be defined as WM_DISPLAYCHANGE message etc. And probably there is</p><p>something else in Mp Gui programming that needs to taken into account, I just don't know 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>regards,</p></blockquote><p></p>
[QUOTE="te3hpurp, post: 530812, member: 82806"] Hi. In case someone is interested I tested a bit. [CODE] if (msg.Msg == 0x007E) { if (g_Player.Playing) { g_Player.Stop(); } if (!windowed) { int y = (msg.LParam.ToInt32() >> 16) & 0xFFFF; int x = (msg.LParam.ToInt32() & 0x0000FFFF); this.Height = y; this.Width = x; this.Location = new Point(0, 0); } }[/CODE] in Mediaportal.cs in wndproc, gives the result that i wanted in Win 7. When i turn off/on my tv, Mp now corrects itself to fill the whole screen. In real life 0x007E should be defined as WM_DISPLAYCHANGE message etc. And probably there is something else in Mp Gui programming that needs to taken into account, I just don't know it.;) 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