Denis Vasichkin

I have some html content and i'd like to write wpf/e control over html content.

Code like:

<div style="position: absolute; left: 10px; top: 10px;">...here some html ...</div>

<div id="wpfContainer"></div>

But wpf/e content always override html, any ideas



Re: Silverlight (formerly WPF/E) General Discussion Is it possible to use wpf/e over html?

Mark Rideout

If you make the "WFP/E" control windowless you can make the HTML be on top of the "WPF/E" content. To enable windowless, set the eighth parameter (where you call the agHost function) to true.


  function agHost(hostElementID, id, width, height, backgroundcolor, sourceelement, source, windowlessmode, framerate, errorhandler)
 
This is what Mike Harsh does for his "WPF/E" Pad application: http://www.simplegeek.com/mharsh/wpfepad/

-mark
Program Manager
Microsoft
This post is provided "as-is"

 





Re: Silverlight (formerly WPF/E) General Discussion Is it possible to use wpf/e over html?

Kimberley MacDonald

I have html divs that display on top of my "WPF/E" control which are displayed/hidden by javascript events. The problem is, these divs do not display if I enable full-screen mode for my "WPF/E" control. I can understand why this is happening... the full-screen mode only applies to the aghost object (and not the surrounding html). Is there a way to accomplish this, either in the Feb 2007 CTP release or an upcoming one

Thanks,

Kim