title: How can I get taskbar buttons for forms that aren't the main form?
body: <p>How do you make a form appear on the taskbar in Delphi? In Firefox, for example, when you open a page in a new window, it creates another window on the taskbar without creating a new process. At the moment my Delphi application opens a new form when a button is clicked, but there is still only one thing on the task bar, so you can't alt-tab between the main form and the form that is created when the button is clicked. How do I change it so that the new form appears with a new taskbar button? My current code looks like this:</p>
  
  <pre><code>procedure Form1ButtonClick(Sender: TObject);
  begin
      Form2.Show;
  end;
  </code></pre>
  
  <p>I have been messing around with <code>CreateWindowEx</code>, but ideally I would like to find a simpler solution than directly using the Windows API.</p>