Jump to content
  • Advertisement
Sign in to follow this  
l0ki

C# messing with MDIChild sizes.

This topic is 4612 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey folks, I've got an MDIParent form, which has 3 child windows created on-the-fly... as such: Child1: Dockstyle.Left. Child2: Dockstyle.Fill. Child3: Dockstyle.Bottom. Which is all fine, they all line up nicely and look exactly like I want them too. However, once a child looses focus other child windows resize themselves.. i.e. Child1 has focus - Extends to full height of work area within the Parent, forcing a resize of Child3, to resize it's width. Also Child2 stays the same height, but it's width fills the whole work area behind the focused Child1... It's winding me right up :) Any ideas? They're all defined as FixedSize, and docking styles are applied in the OnLoad call. Cheers all! Loki.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!