title: WPF: Make window unresizeable, but keep the frame?
body: <p>I have a window that does not have a title bar (<code>WindowStyle == WindowStyle.None</code>). The entire window uses the Aero glass effect. When I make the window unresizeable (<code>ResizeMode == ResizeMode.NoResize</code>), the glass effect disappears and my controls just hang in midair. (Essentially, the window itself disappears but leaves its contents.)</p>
  <p>Is there a way for me to make the window unresizeable without getting rid of the window frame?</p>
  <hr />
  <p>I have read the question <a href="https://stackoverflow.com/questions/1324398/enable-vista-glass-effect-on-a-borderless-wpf-window"><em>Enable Vista glass effect on a borderless WPF window</em></a>, but that's not quite what I want--I would like to keep the window border. For an example of what I would like my window to look like, hit Alt+Tab with Aero enabled.</p>
  <hr />
  <p>To clarify, <strong>I do no want the resize cursors to show up</strong> at all when hovering over the window border. This is essentially what I want my window to look like:</p>
  <p><a href="https://i.stack.imgur.com/W65F9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W65F9.png" alt="Projector" /></a></p>
  
  <p>The solution doesn't have to be strictly WPF--I am fine with hacking around with the Win32 API in order to achieve this.</p>