Maximizing problems with Child Forms in MDI?

D

Doc John

In my Windows application, how can I manage the size of my child Forms
within my MDI Forms? For example, when I maximize one child Form, all the
other Forms maximize. And I need to conserve all the Forms' size.
Is there an easy way to conserve the sizes?

Thanks.

VS2005 v2.0
 
N

Nicholas Paldino [.NET/C# MVP]

Doc,

When you switch to your other form, you should be able to restore the
size of the window by setting the WindowState property to
FormWindowState.Normal. The window manager should have retained the size of
the form before it was maximized.
 
J

Jeffrey Tan[MSFT]

Hi John,

This is by design of MDI GUI.

I think we have discussed this issue in the C# newsgroup in the link below:
http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/brow
se_thread/thread/9978c74189f1d5b3/e75ae118adf8e55d

To workaround this behavior, you have to set the next form status to
FormWindowState.Normal while you switch to other child forms.

If I have misunderstood your concern, please feel free to tell me, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi Doc ,

Have about this problem now? If you still need any help, please feel free
to feedback, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top