Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


vagou

Member Since 26 Mar 2012
Offline Last Active Feb 17 2014 12:45 AM

Topics I've Started

How to use DirectX to render Windowless ActiveX Control

01 May 2012 - 08:49 PM

I want to render video by DirectX, but video should not be on top of HTML elements.
So I try to render video in windowless active control by using DirectX. Windowless control callback function include parameter DC and Area RECT, I render image in Area RECT by DirectX. But it does not work as what I hope to. The image is shown in the ActiveX,and disappear immediately. It seems like the parameter DC is memDC ,and IE will copy it to windowless area after the callback function, so the image rendered by DirectX is covered by DC. If I constantly render image by DirectX not only in callback function but also in timer, the HTML elements which has overlap with ActiveX area will be covered. e.g. HTML Div. (The reason why I use windowless mode ActiveX is because I hope HTML elements can be on top of ActiveX. Window mode ActiveX is always topmost and will cover my HTML elements, which is not acceptable, that’s why I did not use Window mode ActiveX)
BTW ,Chreom/Firefox have same issue. and dont know how flash to implement it.
Anyone help me, any clues and suggesion , Thanks.

PARTNERS