470,822 Members | 1,375 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,822 developers. It's quick & easy.

Menubar covers MDI child form

When I load a child form inside an MDI parent, the menubar of the parent covers the child somehow.

The MDI parent is set to FormWindowState.Normal and has MaximizeBox, MinimizeBox and ControlBox set to True.

The child has the Startup state set to FormWindowState.Maximized and has the MaximizeBox, MinimizeBox and ControlBox set to False. Also the Text property of the child is blank.

So ideally, when the child form is maximized inside the parent form, it should start going from just below the menubar. But here it overlaps with the menubar and goes behind the menubar.

The funny thing is, if I maximize the MDI parent and then
"Restore" it, the child form shows up correctly (starting from just below the menubar of the parent).

Can anyone please help me on this?

Thanks in advance.


Posted by a user from .NET 247 (http://www.dotnet247.com/)

Nov 21 '05 #1
0 976

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Code Monkee | last post: by
1 post views Thread by Simon Lee | last post: by
2 posts views Thread by Chris | last post: by
2 posts views Thread by A.J. Pool | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.