title: MFC: Set controls position at runtime
body: <p>I have a mfc dialog window with some button control and an activeX web browser control.
  For now I am dragging-dropping the controls over my dialog window so their position is somewhat hard coded and not relative to dialog. 
  I want to set their position at runtime , when the dialog window opens.</p>
  
  <p>I tried doing <code>SetWindowPos(GetDlgItem(IDC_EXPLORER), 0,0,a,b,1);</code> but its not doing anything.
  What else can I try?</p>