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>