I am having a MDI Form with Toolbar and a statusbar. When I tried to open a child form (Set to maximized in design), some controls like form captions went up and some buttons below visiblity (Gets partially hidden).
I then tried to 'Restore' and 'Maximize' of the MDI Form and all contents in the child form are visible.
But I want to show all the controls of child form when loading at the begining itself.
Question 2.
I set the 'ControlBox' property of the chilform to False. But still it displays the controlbox when I 'Restore' or 'Maximize' the MDI.
Is that a bug in .NET?
Question 3.
Displays a small icon above my toolbar below the MDI icon which I don't want it to show. (In VB applications it doesn't show)
Question 4.
When a button is on focus it became smaller than its original size. It looks very odd.
Can you maybe post a screenshot? I don't quite understand what you mean.
One thing is that MDIChildren's size gets controlled via the MDI process instead of the child form properties so setting it to Maximize at designtime probably wont help. With some up and some down i don't know what you mean but it could be an anchor issue. When you set the anchor of a control that persists where it should be if the form changes size. I'm not aware of buttons shrinking unless they look smaller because of the focus thing around them.
Sorry i had tried to post a reply yesterday but the site crashed when I posted and I didn't go back and rewrite it later.
Its your color theme that makes the Focus make the button look smaller. You can't really fix it because its not really broken you'd just have to change the color I guess. By setting the backcolor to green I guess it makes the focus retical white which makes it look smaller.
As for the buttons being behind the statusbar you can right click the statusbar and either Bring To Front or Send To Back and it will fix your problem.
I think you are screwed on your icon issue sorry.
The control box is going to be there since it is set as a MDIchild. If you don't want the controlbox (the title header thing) then you can show the form as not an MDIChild.
Whats the Button on the Bottoms visible thing? Try setting it at runtime and seeing if it changes.