Question:
I have an app that has an MDI form (MDIForm1), one MDIChild form (Form1), and one standard form (Form2). I would like to make Form2 a floating one so it gets minimized and restored together with the MDI form but is always on top of the app.
Answer:
In VB6, the Form’s Show method takes a new parameter, OwnerForm. This parameter allows you to specify a Form that will be the owner of the displayed form?that is, the displayed form will always be on top of the ownerform and will be minimized/maximized with it. Do not set the form you want to display as a child of the MDI form.