I think i have run into this before samuel.
I have pasted my answer below ( newsgroup - search for "From Miro" and
subject is RE: MDI Forms"
anyway here it is with the solution that worked for someone else as well.
Miro
=====
This happend to me....
Are you using the Property to maximize? or doing it by code?
If you notice, it is actually showing you the form the exact size it is in
development mode.
Try to show the form maximized thru code
fMain = New frmMain
fMain.WindowState = FormWindowState.Maximized
fMain.Show()
and leave the windowstate "Normal" on the property of the form.
Compile...
it should work,
Now if you get rid of the code, and change your property back to show
"maximized" it should work.
After I ran into this...i always show all my forms maximized thru code (
like above ) and leave all my forms "Normal", and it has never happend
since.
====
"Samuel" <sa************@ntlworld.comwrote in message
news:Ow**************@TK2MSFTNGP02.phx.gbl...
The application is MDI, as soon as the application loads I create a new
child window (maximized), within the child window there is a tab control
almost the size of the child window
The problem is that when the application first loads the top of the tab
control is hidden and it seems as though the header part of the tab
control is not taken into account as far as location or sizing the control
(the control is anchored on all sides). It is only located and sized
properly once the windows is resized (either by sizing the window or by
maximizing minimizing etc.)
Any explanation or info about a related BUG
Thank you,
Samuel