Dialog as child of dialog
-
I want to create a dialog that is a child of another dialog. This child dialog would have a title bar so I can move it around, but as a child it would be confined (cliped) within it's parent dialog. I already tried the obvious way. Create a dialog, set type as Child, then create an object for this dialog and call the create method. ex:
void CParentDialog::CreateChildDialog() { m_ChildDialog.Create( IDD_CHILD, this ); }
What happens is that the dialog is there, but it is being drawn over by other controls in the parent dialog, and also I cannot click on it to activate it or move it around. Louis. -
I want to create a dialog that is a child of another dialog. This child dialog would have a title bar so I can move it around, but as a child it would be confined (cliped) within it's parent dialog. I already tried the obvious way. Create a dialog, set type as Child, then create an object for this dialog and call the create method. ex:
void CParentDialog::CreateChildDialog() { m_ChildDialog.Create( IDD_CHILD, this ); }
What happens is that the dialog is there, but it is being drawn over by other controls in the parent dialog, and also I cannot click on it to activate it or move it around. Louis.