Home All Groups Group Topic Archive Search About

Maximized MDI childforms.... Anyone?

Author
20 Jan 2006 11:19 AM
Martin
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Maximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin

Author
20 Jan 2006 4:44 PM
Martin Horn
Hi Martin,

I have written an MDI app recently with VB2005, and I don't experience any
problem if I set WindowState.Maximized for the child forms, they open up
fully Maximized as expected. So I don't think it's a problem with VB2005 per
se.

HTH.


Show quoteHide quote
"Martin" <x@y.com> wrote in message
news:OhDSqNbHGHA.140@TK2MSFTNGP12.phx.gbl...
>A while ago I posted a question on how to load MDI child forms maximized
>(WindowState=Maximized). When I do this they always load in a sort of
>in-between state and only when I resize the MDI container they take their
>proper state.
>
> Did anyone manage to do this in VB2005? If so, I'd love to hear how....
>
> Tia,
> Martin
>
Author
20 Jan 2006 5:26 PM
David
I had this same problem.

Try setting the child form's AutoScaleMode to Inherit.

God Bless
David

Show quoteHide quote
"Martin" wrote:

> A while ago I posted a question on how to load MDI child forms maximized
> (WindowState=Maximized). When I do this they always load in a sort of
> in-between state and only when I resize the MDI container they take their
> proper state.
>
> Did anyone manage to do this in VB2005? If so, I'd love to hear how....
>
> Tia,
> Martin
>
>
>
Author
21 Jan 2006 1:11 PM
Martin
Thanks for your response. Unfortunately that didn't help either. Now I set
in the form_load event the property to maximized and that helps. A bit
weird, since that property was already set to maximized at design time...
But I guess that is one of the small inconsistancies we have to learn to
live with....

Martin

Show quoteHide quote
"David" <Da***@discussions.microsoft.com> wrote in message
news:245A7E2D-DD82-4394-B484-D5F6553962DD@microsoft.com...
>I had this same problem.
>
> Try setting the child form's AutoScaleMode to Inherit.
>
> God Bless
> David
>
> "Martin" wrote:
>
>> A while ago I posted a question on how to load MDI child forms maximized
>> (WindowState=Maximized). When I do this they always load in a sort of
>> in-between state and only when I resize the MDI container they take their
>> proper state.
>>
>> Did anyone manage to do this in VB2005? If so, I'd love to hear how....
>>
>> Tia,
>> Martin
>>
>>
>>