I have an MDI application that can create various MDI children. I need to be
able to create forms that are children of an MDI child form (like creating
child windows inside of an MDI child form).
To better explain my problem, lets say there is a MainForm form with
IsMdiContainer set to true. This form contains ChildForm1 forms as MDI
children (MDIParent property is set to MainForm when ChildForm1 instances are
used). There is another form, ChildForm2, that needs to be used inside
ChildForm1 forms.
I tried to add the ChildForm2 instances to the Controls in ChildForm1 and
this is as close as I coud get to the desired result. The problem is that
this does not allow the form 2 to be activated (the window title does not
change, and the Activate event is not received).
For ChildForm2 I cannot use Owner property because in this way they can be
moved "outside" the parent.
Is there any other way you can think of for creating windows (forms) within
MDI childrens?
Thanks.