Hi everyone, i need some help with dialog windows in Visual C++ 6.
I create a new dialog window under the resource view tab and call it from the code of a previous dialog window using:
CDialog dlg(IDD_MYSECONDDLG);
dlg.DoModal();
and that works fine, trouble is any buttons i insert in the new window don't seem to do anything...i.e. i insert a button that and just put in a MessageBox("Test Worked!"); bit of code
When i execute the program and go the second window, i hit the button and nothing happens...am i calling this second dialog window incorrectly?
Thanks
I create a new dialog window under the resource view tab and call it from the code of a previous dialog window using:
CDialog dlg(IDD_MYSECONDDLG);
dlg.DoModal();
and that works fine, trouble is any buttons i insert in the new window don't seem to do anything...i.e. i insert a button that and just put in a MessageBox("Test Worked!"); bit of code
When i execute the program and go the second window, i hit the button and nothing happens...am i calling this second dialog window incorrectly?
Thanks