title: .NET (C#): Getting child windows when you only have a process handle or PID?
body: <p>Kind of a special case problem:</p>
  
  <ul>
  <li>I start a process with <code>System.Diagnostics.Process.Start(..)</code></li>
  <li>The process opens a splash screen -- this splash screen becomes the main window.</li>
  <li>The splash screen closes and the 'real' UI is shown.  The main window (splash screen) is now invalid.</li>
  <li>I still have the Process object, and I can query its handle, module, etc.  But the main window handle is now invalid.</li>
  </ul>
  
  <p>I need to get the process's UI (or UI handle) at this point.  Assume I cannot change the behavior of the process to make this any easier (or saner).</p>
  
  <p>I have looked around online but I'll admit I didn't look for more than an hour.  Seemed like it should be somewhat trivial :-(</p>