Well about that last mail of yours, DoModal displays the dialog in Modal mode (u can call it blocking mode), the other mode is called modeless mode, if you show the dialog with a call to function Show (or it is ShowDialog please consult the documentation) and not with DoModal the dialog will be displayed in modeless mode and you would be able to call the functions or access m_cellReport from CMainDlg while CReportDlg is still displayed.
Regards
Ankur Verma
|