title: Getting hWnd of a hidden window
body: <p>How can i get hWnd of a hidden window? With my configuration it returns 0.</p>
  <p>This is what i have tried:</p>
  <pre><code>ProcessStartInfo startInfo = new ProcessStartInfo(path);
  startInfo.WindowStyle = ProcessWindowStyle.Hidden;
  
  Process process = Process.Start(startInfo);
  process.WaitForInputIdle();
  
  MessageBox.Show(process.MainWindowHandle.ToString());
  </code></pre>