#CDialogDirector 1.1.3
20-Jul-93 23:57:38
Sb: #7261-#CDialogDirector 1.1.3
Fm: David Jokinen 70713,1603
To: jud spencer 76711,411
Jud:
Your technique seems to bypass CDirector::Close() as well. It seems to do some
checking for multiple concurrent close requests and exceptions that occur
during the close. I wonder if it's prudent to skip two whole levels of the TCL,
especially when you consider future updates. Until I hear from Symantec, I'll
stick with just skipping over CDialogDirector::Close().
Because the problem only occurs with MODAL dialogs, it seems like another
technique that should work is:
…
myDialogDirector->BeginModalDialog();
myDialogDirector->DoModalDialog(cmdOK);
myDialogDirector->itsWindow->SetModal(FALSE);
myDialogDirector->Close(FALSE);
…
David