title: WPF Glass window fallback?
body: <p>Creating Glass window is as easy as calling DwmExtendFrameIntoClientArea in WPF, but that is only half of the trick. If you disable aero, and get the XP-like skin thats where the pain begins:</p>
  
  <p>In XP (or disabled aero) you must call DrawThemeBackground in order to get "transparent like feel", Internet explorer does this too on its top, try disabling aero and look that.</p>
  
  <p>I've cooked up application that does <em>just</em> that, <a href="http://ciantic.blogspot.com/2009/10/glass-only-fallback-in-windowsforms.html" rel="nofollow noreferrer">fallback gracefully when Aero is disabled in Windows.Forms.</a></p>
  
  <p><strong>The question:</strong> But doing it in WPF is different, the OnRender (OnPaint equiv. in avalon) which gives you DrawingContext, how one draws on that with DrawThemeBackground WINAPI call?</p>