redoctober
Programmer
Hi guys,
i have a SDI project and at when i click a menu item i want 2 dialogs to appear. Everythings works fine except 1 little detail. If i create my dialogs
m_Dlg->Create(IDD_DIALOG1); (1)
m_DlgT->Create(IDD_DIALOG2); (2)
and then make then visible
m_Dlg->ShowWindow(SW_SHOW);
m_DlgT->ShowWindow(SW_SHOW);
i can't bring dialog (1) on top of dialog (2) not when i click on it not if i manualy set focus on it. Btw, on the task bar i can see only 1 tab for the dialogs and task manager shows only that they both run in the same process. If i change the order of creation of the dialogs then i can't bring dialog (2) to the top. Is there a way to get around this problem?
thanks a lot in advance.
i have a SDI project and at when i click a menu item i want 2 dialogs to appear. Everythings works fine except 1 little detail. If i create my dialogs
m_Dlg->Create(IDD_DIALOG1); (1)
m_DlgT->Create(IDD_DIALOG2); (2)
and then make then visible
m_Dlg->ShowWindow(SW_SHOW);
m_DlgT->ShowWindow(SW_SHOW);
i can't bring dialog (1) on top of dialog (2) not when i click on it not if i manualy set focus on it. Btw, on the task bar i can see only 1 tab for the dialogs and task manager shows only that they both run in the same process. If i change the order of creation of the dialogs then i can't bring dialog (2) to the top. Is there a way to get around this problem?
thanks a lot in advance.