I have a tabbed dialog with a couple of Separate dialogs. I created classes of CDialog for each dialog. Im trying to get the text from the edit control from the tabbed dialog and it appears in a message box when I press a button on the main dialog.
the m_edit is a variable of CString for the edit box
it gives me a error and crashes
how do I get the text from the other dialogs edit control?
oh yeah..im not cross posting..i deleted this post on stack overflow from no responses
Code:
myDialog test;
test.UpdateData(TRUE);
CString bla = test.m_edit1;
test.UpdateData(FALSE);
MessageBox(bla,bla,MB_OK);
the m_edit is a variable of CString for the edit box
it gives me a error and crashes
how do I get the text from the other dialogs edit control?
oh yeah..im not cross posting..i deleted this post on stack overflow from no responses