Home All Groups Group Topic Archive Search About
Author
13 Dec 2006 3:13 AM
Tony K
I have a Windows MDI app with child forms.  When opening the child forms,
the child form is not maximized inside the parent form.  What
property/setting am I missing?

The child form size opens with the settings for the "SIZE" property but I
also have the WindowState set to Maximized.

Thanks,
Tony K

Author
13 Dec 2006 6:04 AM
Miro
I have run into this before.

Setting the property didnt actually work.

I had to do it by code prior to the show.  That worked.
As of that moment I have made all my forms "hardcoded" to show it maximized.
I do not trust that property
under mdi.

                fMain = New frmMain
                fMain.MdiParent = Me
                fMain.WindowState = FormWindowState.Maximized    // This is
what I have hardcoded and resolved the issue.
                fMain.Show()


Miro


Show quoteHide quote
"Tony K" <king-tony2@NOSPAMcomcast.net> wrote in message
news:eGB3kSmHHHA.3780@TK2MSFTNGP02.phx.gbl...
>I have a Windows MDI app with child forms.  When opening the child forms,
>the child form is not maximized inside the parent form.  What
>property/setting am I missing?
>
> The child form size opens with the settings for the "SIZE" property but I
> also have the WindowState set to Maximized.
>
> Thanks,
> Tony K