title: How to remove the top bar from a resizable form on Windows 10?
body: <p>I am trying to remove title-bar of a form while keeping the border to have a resizable form. I set the <code>BorderStyle</code> to <code>bsNone</code> and override the <code>CreateParams</code> procedure:</p>
  
  <pre><code>procedure TMainForm.CreateParams(var Params: TCreateParams);
  begin
    inherited;
    Params.Style := Params.Style or  WS_BORDER or WS_THICKFRAME;
  end;
  </code></pre>
  
  <p>The only issue I am facing is a white bar on top edge of the form (in win 10):</p>
  
  <p><a href="https://i.stack.imgur.com/ayciF.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/ayciF.jpg" alt="screenshot"></a></p>
  
  <p>How can I get rid of this white bar?</p>