title: How to set a default value for "Edit control box" in a Dialog that is added to MFC Doc/Frame project
body: <p>I added a extra Dialog (<code>TestDialog</code>) in a MFC doc/frame project (Single doc, MFC, VC++2010 project) That dialog has a "EDIT Control" (<code>IDC_EDIT1, m_EditBox1 etc</code>) box. After starting the  MFC program from the DOC/frame Menu I selected the testdialog which then popup or start.</p>
  
  <p>But Whenver I start that Testdialog the EDIT Control box appear as empty and I have to type a starting value (say 100) so that I can press a button (inside testdialog) that runs a program which accept 100 as input.</p>
  
  <p>How and where I can add a starting value say 100 to this Edit control so that when testdialog will open the EDIT control box already will have that default vale ( i,e 100).</p>
  
  <p>TestDialog.cpp file shows</p>
  
  <pre><code>CTestDialog::CTestDialog(CWnd* pParent /*=NULL*/)
  : CDialogEx(CTestDialog::IDD, pParent)
  , testdlg(0)
  
  {
  }
  </code></pre>