I am opening a CDialog(CAxDialogImpl) using m_nRet = DoModal();
On this dialog I have an options button. When I click on this options button, I need to close this existing dialog and open another dialog (my options dialog). In order to close the existing dialog, I first call EndDialog(m_nRet)
and then call DoModal()
again to open my options dialog.
I am able to successfully close and reopen another dialog. However, when I try to close this new options dialog, my IE page in the background refreshes with a message:
A problem with this webpage caused Internet Explorer to close and reopen the tab.
I am new to this technology and would appreciate your help. Thank you!