title: Dialog Class doesn't let me interact with CButton on the dialog?
body: <p>If I create the CButton in the myTab class, I can't interact with it as a user.  </p>
  
  <p>However, if I "create" the CButton in the Main CDialog and set the pParentWnd to dlgMine then I can interact with.  </p>
  
  <p>Thx</p>
  
  <pre><code>//Main CDialog
  
  CDialog *dlgMine = new myTab(this);
  dlgMine-&gt;Create(IDD_DIALOG1,this);
  
  dlgMine-&gt;SetWindowPos(&amp;wndTop, 20, 20, 300, 300, SWP_SHOWWINDOW);
  </code></pre>
  
  <hr>
  
  <pre><code>myTab::myTab(CWnd* pParent /*=NULL*/)
      : CDialog(myTab::IDD, pParent)
  {
      //{{AFX_DATA_INIT(myTab)
          // NOTE: the ClassWizard will add member initialization here
      //}}AFX_DATA_INIT
  
      CButton *btn = new CButton();
      btn-&gt;Create("Run", WS_BORDER|WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,CRect(40,40,100,100),this,10);
  }
  </code></pre>