title: TestStack White with a tray window
body: <p>I need to interact with another application, <strong>that resides in the tray</strong>.
  I'm currenty using TestStack White this way:</p>
  
  <pre><code>ProcessStartInfo processStartInfo = new ProcessStartInfo("MyProg.exe");
  Application application = Application.AttachOrLaunch(processStartInfo);
  _window = application.GetWindows()[0];
  </code></pre>
  
  <p>Everything works if the application was not running before this call, since launching it, this is visible.</p>
  
  <p>Instead, if the application was already running, and in the tray, White could not find any window, and I can see this in the console as the following log:</p>
  
  <blockquote>
    <p>Could not find any windows for this application</p>
  </blockquote>
  
  <p>...and, after some retries, it fails with an exception.
  Now, the best solution I found is to kill the application and relaunch it:</p>
  
  <pre><code>application.Kill();
  application = Application.Launch("MyProg.exe");
  </code></pre>
  
  <p>and this works.
  But I guess there is a better solution to this.</p>