Search code examples
c#wpfvisual-studiobrowserkinect-sdk

WebBrowser Object under other objects


I have a WebBrowser object in my WPF GUI. I want to use this object with the Kinect. I use Kinect SDK 1.7, Visual Studio 2012, and I configure the WebBrowser object in IE10 emulation. The problem is that the WebBrowser object is always over every other object, even if I set its zIndex to lower value.

My aim is to see the hand of the KinectSensorChooser (binding with KinectRegion) over WebBrowser object.

I also tried to use other objects but they always appear under the WebBrowser object.

How I can put the WebBrowser object under other ones?


Solution

  • The WPF Web Browser control is technically a wrapped WinForms WebBrowser Control, so it is rendered in the WinForms layer, which is always above the WPF layer.you can use Awesomium.NET Browser instead IE Browser or try Using SetWindowRgn