October 2003
Intermediate to advanced
736 pages
15h 25m
English
Just as controls can be grouped into containers, windows themselves can be grouped into containers in a style of application called Multiple Document Interface (MDI). MDI was invented as a way to contain a set of related windows in a single frame, as shown in Figure 2.31.

An MDI form has two pieces: a parent and a child. You designate the parent form by setting the IsMdiContainer property to true, and you designate the child form by setting the MdiParent property before showing the form:
Sub InitializedComponent() ... Me.IsMdiContainer = True ... End Sub Sub cmdFileNewChild_Click(sender ...