Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3027

Tabbed dialog

$
0
0
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.


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

Viewing all articles
Browse latest Browse all 3027

Latest Images

Trending Articles



Latest Images