title: WPF rendering problem with HWND children in the way
body: <p>I suppose it is safe to say that WPF renders its contents as a window background. There are no child windows in a traditional HWND sense. So, when one introduces something HWND based in a WPF app, like a WebBrowser, things start to go wrong way it terms of visual appearance.</p>
  
  <p>Consider a Window having a Grid with two children, WebBrowser and something else, e.g. TextBox. If WebBrowser were a red circle instead, the TextBox would render on top of it. In case of WebBrowser, no TextBox is to be found anywhere. This is because TextBox is rendered as main window's background and WebBrowser is actually a HWND child of the main window obscuring the background.</p>
  
  <p>So all is (not) well. How does one achieve the desired behavior? I want to have TextBox rendered on top of WebBrowser. Has anyone encountered this problem?</p>
  
  <p>I am thinking along the lines of having a second transparent top-level borderless WPF window, re-parent it so that the main window owns it and do some other tricks to make it happen.</p>
  
  <p>Before I dig in, I was wondering if anybody had an obvious or a simpler solution?</p>
  
  <hr>
  
  <h2>Update by Meleak</h2>
  
  <p>I'm offering this Bounty to anyone who can post an implementation of Ray Burns Answer <code>AirRepair</code>. I tried myself but in vain</p>