My Code
If you click on a button in d1 this function will be called
void CEd2kDlg::OnXXX()
{
// TODO: Add your control notification handler code
// here
UpdateData(TRUE);
d2 dlg;
dlg.DoModal();
UpdateData(FALSE);
}
Dialog d2:
int HTML::DoModal()
{
// TODO: Add your...
I have get 2 Dialogs (d1 and d2). I want to use the Values of some variables in an other Dialog.
I write:
d1 dlg;
m_filename = dlg.m_name; //m_filename (from d2) gets´the
//value of dlg.m_name
My problem is that dlg.m_name == "", but in d1 it has a value.
I hope you understand...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.