title: warning when using createEx for window creation in VC++
body: <p>I am getting waring 
  <strong>"Warning: Window creation failed: GetLastError returns 0x00000579"</strong>
  when using below code </p>
  
  <pre><code>CWnd* m_pWndStatic = new CWnd;
  m_pWndStatic-&gt;CreateEx(0, _T("STATIC"),
                        _T("Hi"), WS_CHILD | WS_VISIBLE | WS_POPUP,
                        CRect(0, 0, 20, 20), this, 1234);
  </code></pre>
  
  <p>It works fine if i call it without PopUp i.e. WS_POPUP. I am using VS2010.</p>