|
-
October 15th, 2006, 08:22 AM
#1
Making a dialog box appear above another
Hi
I have a problem with dialog boxes I was hoping someone could help me with:
I have a dialog based project where I am creating another window from the main dialog OnInitDialog function:
BOOL CFCMDlg::OnInitDialog()
{
...........
m_canvas.Create(IDD_CANVAS, this);
m_canvas.ShowWindow(SW_SHOWNORMAL);
...........
}
The problem is that I want the main dialog window (CFCMDlg) to always be on top of the new window (CCanvas). Even if I select the main dialog window (CFCMDlg) it always appears behind the new window (CCanvas).
Is there something I can add / modify which will make the CCanvas dialog box always appear behind the CFCMDlg dialog box regardless of what is currently selected?
Thanks,
Robbie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|