Hey all,
I am having some trouble trying to open a dialog window. Firstly I am using MFC in MSVC 6. I have a main dialog window and I am trying to open a second dialog window by clicking on a button("second") in the main dialog window. When I am in the main window I am using
if(Dlg.DoModal() == IDC_SECOND)
{
CSecondDialog dlg;
dlg.DoModal();
}
to try and initate the second window. I am getting now compile time errors but when I click on the "second" button nothing happens. Does anyone have any ideas??? Thanks in advance.
Colm