title: How to hide an application from the taskbar and keep the window over it at all times
body: <p>I'm developing a Delphi application that is a small utility window. The idea is that it stays always on top of all other windows providing information to the user and allowing him to press a button. I don't want to show the app's icon in the taskbar since it's a small utility that shouldn't be in the way of the user and I also want the user to be able to put it over the taskbar if he so desires.</p>
  
  <p>I've already got it to not show the taskbar icon using the following from <a href="https://stackoverflow.com/questions/14811935/how-to-hide-an-application-from-taskbar-in-windows-7">this question</a>:</p>
  
  <pre><code>procedure TForm1.CreateParams(var Params: TCreateParams);
  begin
    inherited;
    Params.ExStyle := Params.ExStyle and not WS_EX_APPWINDOW;
    Params.WndParent := Application.Handle;
  end;
  </code></pre>
  
  <p>And I've also found <a href="https://stackoverflow.com/questions/4942083/app-staying-behind-taskbar-when-starting-in-fullscreen">this other question</a> which is concerned with the form being above the taskbar in a full screen application:</p>
  
  <pre><code>procedure TForm1.CreateParams(var Params: TCreateParams); 
  begin
    inherited; 
    Params.Style := WS_POPUP or WS_VISIBLE; //will overlay taskbar
  end;
  </code></pre>
  
  <p>What I haven't been able to do is marry the two.</p>