Home All Groups Group Topic Archive Search About

MDI child forms, if one maximizes, all maximize?

Author
18 Jan 2006 6:16 AM
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()

Author
18 Jan 2006 8:20 AM
Coen Smits
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?

Show quoteHide quote
"Earl" wrote:

> 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()
>
>
>

Bookmark and Share