
modeless dialog not showing
I have a modeless dialog that I am trying to show from another dialog. For
some reason the dialog will not show on creation. Oddly enough, I have
another modeless dialog that does work and I don't see any differences. Is
there something that I am missing? Any help would be appreciated. Michael
Fox
//Host code from the dialog that instantiates the modeless dialog
if(m_pDlg->GetSafeHwnd() == 0)
{
m_pDlg->Create();
Quote:
}
else
{
m_pDlg->PostMessage(WM_DLG_FRONT);
Quote:
}
//Create function from the modelss dialog
BOOL CProcessBlobDlg::Create()
{
BOOL bRetValue = CDialog::Create(CProcessBlobDlg::IDD);
return bRetValue;
Quote:
}