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!)
How to add a VideoPlayer Object to MP window? Help!
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="arion_p" data-source="post: 1068271" data-attributes="member: 45945"><p>MP GUI uses DirectX/Direct3D (like I said earlier). Windows Forms use GDI. Those two don't mix well. In fact they don't mix at all in full screen (DirectX exclusive mode). These are entirely different technologies not designed to work together (with the exception of windowed DX which work more or less like an overlay). MS recommendation when you want to display a window on top of fullscreen DX surface, used to be after each WM_PAINT to grab BitmapBits from window DC, turn that into a texture and the use DX to draw that texture on top of fullscreen DX surface. I do not know if there has been some enhancement in later DX to allow for a better solution, but I doubt it.Needless to say this technique is VERY slow and should only be use to show e.g. a message window, or a window with some options etc.</p><p></p><p>That being said, you might want to have a look at (in addition to onlinevideos which probably does exactly what you want to do) winamp visualizations. Also external players implement similar functionality.</p></blockquote><p></p>
[QUOTE="arion_p, post: 1068271, member: 45945"] MP GUI uses DirectX/Direct3D (like I said earlier). Windows Forms use GDI. Those two don't mix well. In fact they don't mix at all in full screen (DirectX exclusive mode). These are entirely different technologies not designed to work together (with the exception of windowed DX which work more or less like an overlay). MS recommendation when you want to display a window on top of fullscreen DX surface, used to be after each WM_PAINT to grab BitmapBits from window DC, turn that into a texture and the use DX to draw that texture on top of fullscreen DX surface. I do not know if there has been some enhancement in later DX to allow for a better solution, but I doubt it.Needless to say this technique is VERY slow and should only be use to show e.g. a message window, or a window with some options etc. That being said, you might want to have a look at (in addition to onlinevideos which probably does exactly what you want to do) winamp visualizations. Also external players implement similar functionality. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How to add a VideoPlayer Object to MP window? Help!
Contact us
RSS
Top
Bottom