title: MFC C++ - How to call Init() in new dialog opened with button in Main Dialog
body: <p>I use VS 2013.
  I am new into MFC and I have already created Dialog box with button which opens new dialog. 
  I call constructor of the new dialog in Event_button_handler and use method DoModal. It works perfectly.</p>
  
  <p>But my problem appears when I want to add for example Slider Control in new dialog. I followed this tutorial: <a href="http://depts.washington.edu/cmmr/biga/chapter_tutorials/1.C++_MFC_D3DOGL/1.StepByStepGuide/tutorial_3.html" rel="nofollow">http://depts.washington.edu/cmmr/biga/chapter_tutorials/1.C++_MFC_D3DOGL/1.StepByStepGuide/tutorial_3.html</a>
  but there is no such method like OnInit(); which I used in my main dialog.</p>
  
  <p>How can I handle this? Thanks</p>