If I use:
CDialog::EndDialog(FALSE);
...is it possible to get the value of a text box from the dialog I've "ended" from the next dialog I load?
I've tried the following in the third dialog class but it doesn't seem to work:
dlg2.GetDlgItem(ID_OF_TEXT_BOX)->GetWindowText(new_cstring);
I've tried a couple of other things to but can't figure out how to do it. I've not found anything searching the net either.
CDialog::EndDialog(FALSE);
...is it possible to get the value of a text box from the dialog I've "ended" from the next dialog I load?
I've tried the following in the third dialog class but it doesn't seem to work:
Code:
MySecondClass dlg2; dlg2.GetDlgItem(ID_OF_TEXT_BOX)->GetWindowText(new_cstring);
I've tried a couple of other things to but can't figure out how to do it. I've not found anything searching the net either.