MDI child forms, if one maximizes, all maximize?

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

What causes all forms to resize the same as the others within an MDI
container? I've noticed that maximizing or minimizing one form is passed to
all other forms within that container. Within the MDI container, I
instantiate and display the forms with the following:

Dim OwnedForm As New frmAddEvents
Me.AddOwnedForm(OwnedForm)
OwnedForm.MdiParent = Me
OwnedForm.Show()
 
I'm having the same problem: MDI in combination with autoscroll does not work
good!

I've made a test application, so you can see the bug for yourself:
http://coen.smits.cx/got/TestApp.zip

After switching from view 2 times (using the menu), the client form is not
maximized anymore, but the windowstate is set to normal.
Source code included!

Any ideas?
 
Back
Top