Shyam
April 27th, 1999, 11:11 PM
In an ordinary MFC modal Dialog based application I'm doing this.
InitInstance()
{
CMyDlg dlg;
int nResponse = dlg.DoModal();
if(nResponse == ID_OK)
do_something;
nResponse = dlg.DoModal();
}
When I call DoModal for the second time, the dialog will not appear at all. Why is this?
Please help.
Thanks,
Shyam
ghanashyambrramakrishnabsshakuntalabr@404
InitInstance()
{
CMyDlg dlg;
int nResponse = dlg.DoModal();
if(nResponse == ID_OK)
do_something;
nResponse = dlg.DoModal();
}
When I call DoModal for the second time, the dialog will not appear at all. Why is this?
Please help.
Thanks,
Shyam
ghanashyambrramakrishnabsshakuntalabr@404