Create a new project, add an MDI form and 2 or more MDI Child forms.
in the MDI Form code window paste:
Private Sub MDIForm_Click()
Click on the MDI form to see which child form is currently active. The .ActiveForm property gives you complete access to the current active MDI Child. For example: .hide .show .caption .width .height etc...