title: Removing the maximize button from a window created using glfw
body: <p>How do you remove the maximize button from a window created usingg the <code>glfwopenWindow</code> functionn call ?</p>
  
  <p>Currently, what I'm doing is:</p>
  
  <pre><code>windowHandle = GetForegroundWindow();
  long Style = GetWindowLong(windowHandle, GWL_STYLE);
  Style ^= WS_MAXIMIZEBOX;
  SetWindowLong(windowHandle, GWL_STYLE, WS_MAXIMIZEBOX);
  </code></pre>
  
  <p>Where, I get the window handle and then toggle the maximize bit. Then I re-apply the window style. But this doesn't work an it makes the window completely blank without any buttons or title bar. is there anyway to remove the maximize button. I dont want to change the window size whenever the resize function is called</p>