title: How to launch qt application with the command window in minimized state, without any flicker?
body: <p>I am working on VS2005 sp2, with qt3.3.7. I have set the linkers>system>subsystem to Console (/SUBSYSTEM:CONSOLE) as I need the command window to check runtime status of my project at runtime. </p>
  
  <p>I want to launch my application with the command window minimized. The problem is, whenever my application launches, the command window comes in maximize state.</p>
  
  <p>If I minimize this window using :</p>
  
  <pre><code>HWND hWnd = GetConsoleWindow();    
  ShowWindow( hWnd, SW_MINIMIZE );
  </code></pre>
  
  <p>still I get a flicker, ie for a split second the command window opens and then minimizes.</p>
  
  <p>How can I launch my qt application with the command window in minimized state, without any flicker?</p>