467,877 Members | 1,202 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,877 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.

Infimo

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

<Id>6QfDhu98S0WU01NoLN3Z1Q==</Id>
Nov 21 '05 #1
  • viewed: 908
Share:

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 jack112 | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.