title: Make Inno Setup WizardForm moveable if titlebar is disabled
body: <p>I want to make an installer with a custom look and disabled the titlebar by setting the <code>BorderStyle</code> to <code>bsNone</code>.</p>
  
  <p>Now I cannot move the window anymore. I have looked around and found a solution for Delphi:<br>
  <a href="http://www.chami.com/tips/delphi/010397D.html" rel="nofollow">http://www.chami.com/tips/delphi/010397D.html</a></p>
  
  <p>Can this be accomplished in Inno Setup?</p>
  
  <p>I have already looked up the <code>WM_NCHITTEST</code> thing on MSDN but I cannot figure out if and how I can make this work.</p>
  
  <p>Edit: After looking around and compiling it using the <a href="http://restools.hanzify.org/article.asp?id=89" rel="nofollow" title="advanced compiler">advanced compiler</a> advanced compiler I came up with this, but it doesn't work. It compiles but when I click inside the window, I cannot drag it.</p>
  
  <pre class="lang-pascal prettyprint-override"><code>procedure Dragg(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
  begin
    SendMessage(WizardForm.Handle, $F112, $F012, 0);
  end;
  
  procedure InitializeWizard();
  begin
    WizardForm.OnMouseDown := @Dragg;
  end;
  </code></pre>