I made a custom border for my mdi child. Mdi child form properties:
- FormBorderStyle = None
- Controlbox = False
- Text = ""
- WindowState = Maximized
First, when I had the property of Windowstate set to Normal, my mdi child would not appaer, I guess it has a size of 0;0 then. I tried setting the size in Form_Load method, but still nothing changed. When I changed FormBorderStyle to FixedSingle, I could see very tiny form with just enough space to double-click the title bar. Then the form really maximized.
I just don't understand anymore, this is all very confusing. And since the windowstate is maximized I can't use functions to drag the form around the screen because it thinks it's maximized....
You have written "WindowState = Maximized".
Maybe because of this you only see your MDI Form when parent form is maximized.
I reccomend you write "WindowState = Normal" , and in Form_Load write "MDIForm.Size=ParentForm.Size" or (something like that).