Is it possible to load a CDialog from my application and display it
without stopping the excution of a program. I have tried calling
doModal from the initinstance function but this stops
the rest of the program from executing.
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
// process info
I have also tried calling showwindow which works ok apart from
the fact the the dialog is frozen on the screen when my program is doing
its processing (run function). The dialog isn't repainted and there is
no application present in the program bar at the bottom of the hpc
screen.
m_objDialog = new FDCSIAnywhereDlg();
m_objDialog->Create(IDD_DIALOG_SYNC,NULL);
m_objDialog->ShowWindow(WS_OVERLAPPEDWINDOW);
m_objDialog->UpdateWindow();
m_pMainWnd = m_objDialog;
Clive
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG