
Modeless Dialog box in a Modal Dialog Application...
Try
m_pDlg->Create(IDD_DIALOGPOPUPDUDE, this );
instead of
m_pDlg->Create(IDD_DIALOGPOPUPDUDE, NULL);
Cheers
Check Abdoul
------------------
Quote:
> Hi,
> I might need to show a modeless dialog box in my application. The
> application itself is a dialog based app (the main window is a CDialog
> derived class).
> When I create the modeless dialog, the main application window loses
focus,
> but the modeless dialog is nowhere to be seen!!
> Here's my code so far:
> file://handler to create modeless dialog:
> m_pDlg = new CDlgWhereTagWas;
> m_pDlg->Create(IDD_DIALOGPOPUPDUDE, NULL);
> m_pDlg->SetFocus();
> Do I have to do some type of "PreTranslateMessage" somewhere?
> Thanks.
> -Chris