Hi,
I have a dialog based mfc application.
The first dialog shows up find with the taskbar "button/icon". But then it goes away when i hide the first and show the second dialog. i.e. my application is running but i don't see it on the taskbar.
Here the code i use on an OnOk button click:
CMenu menuDlg;
menuDlg.DoModal();
Also tried this:
CWnd *mainWnd = AfxGetMainWnd();
CDialog::OnCancel();
CMenu menuDlg;
mainWnd = &menuDlg;
menuDlg.DoModal();
Any ideas how to fix this please?
Thank You
I have a dialog based mfc application.
The first dialog shows up find with the taskbar "button/icon". But then it goes away when i hide the first and show the second dialog. i.e. my application is running but i don't see it on the taskbar.
Here the code i use on an OnOk button click:
CMenu menuDlg;
menuDlg.DoModal();
Also tried this:
CWnd *mainWnd = AfxGetMainWnd();
CDialog::OnCancel();
CMenu menuDlg;
mainWnd = &menuDlg;
menuDlg.DoModal();
Any ideas how to fix this please?
Thank You