how to set a Model Dlg position?

Hi,
how to set a Model Dlg position? SetWindowPos does not work before dlg.DoModal()

Thanks
UdiRazAsked:
Who is Participating?
 
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
You do it in the OnInitDialog of the dialog (after CDialog::OnInitDialog();).
Before DoModal the window is not yet created.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.