title: DwmExtendFrameIntoClientArea without Aero Glass
body: <p>Using the <code>DwmExtendFrameIntoClientArea</code> API call with Aero Glass enabled works just fine. However, I want it to work when Aero Glass is disabled as well, like how it works in the Windows control panel:</p>
  
  <p><img src="https://i.stack.imgur.com/a3cnd.png" alt="enter image description here"></p>
  
  <p>Notice how the frame has extended into the client area, even though Aero Glass is disabled? When I make the <code>DwmExtendFrameIntoClientArea</code> API call in my application, the returned HRESULT is definitely not success, and my application ends up looking like this:</p>
  
  <p><a href="http://img197.imageshack.us/img197/9629/clientapplication.png">http://img197.imageshack.us/img197/9629/clientapplication.png</a></p>
  
  <p>Normally, with Aero Glass enabled, the border stretches down to underneath the navigation buttons, like in the control panel. How do I do this? <code>DwmExtendFrameIntoClientArea</code> clearly isn't working.</p>
  
  <p>By the way, if it is relevant, my application is a WPF application.</p>