MDI Parent Child Maximize form issue

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

Hi,

I have a situation where I have a MDI Parent form that contains a menuStrip
control at the top. When I launch a Child Form I specify:
frmChild.WindowState = FormWindowState.Maximized;

The problem is that the maximize/minimize buttons on the Child Form appear
above the MDI Parent's menuStrip...not below it where I would expect it. Is
there a setting that I can set to maximize the Child Form in the space below
the menuStrip?

Thanks!
Ron
 
I have the same problem, only in my case. Did you find a solution?

In my case, the child form is created and maximized during the parent form's constructor procedure. This is necessary because I have a long-time-to-load control. If I show the forms before they are created, they are displayed incorrectly and are unresponsive until the forms (and the big control) are completely loaded.

Was your situation similar?

Clint
Hi,

I have a situation where I have a MDI Parent form that contains a menuStrip
control at the top. When I launch a Child Form I specify:
frmChild.WindowState = FormWindowState.Maximized;

The problem is that the maximize/minimize buttons on the Child Form appear
above the MDI Parent's menuStrip...not below it where I would expect it. Is
there a setting that I can set to maximize the Child Form in the space below
the menuStrip?

Thanks!
Ron
On Thursday, February 28, 2008 12:35 PM Robbe Morris - [MVP] C# wrote:
I had some odd issues with MDI parents as well.
This link shows how I got around them:

http://www.eggheadcafe.com/tutorial...84-57049e53b8c5/mdi-net-forms-include-do.aspx

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web apps
without IT programmers.
Free download: http://www.equalssolved.com/default.aspx




news:[email protected]...
Submitted via EggHeadCafe
C# .NET Optional Parameters and Named Arguments
http://www.eggheadcafe.com/tutorial...toptional-parameters-and-named-arguments.aspx
 
I have the same problem, only in my case. Did you find a solution?

In my case, the child form is created and maximized during the parent form's constructor procedure. This is necessary because I have a long-time-to-load control. If I show the forms before they are created, they are displayed incorrectly and are unresponsive until the forms (and the big control) are completely loaded.

Was your situation similar?

Clint
Hi,

I have a situation where I have a MDI Parent form that contains a menuStrip
control at the top. When I launch a Child Form I specify:
frmChild.WindowState = FormWindowState.Maximized;

The problem is that the maximize/minimize buttons on the Child Form appear
above the MDI Parent's menuStrip...not below it where I would expect it. Is
there a setting that I can set to maximize the Child Form in the space below
the menuStrip?

Thanks!
Ron
On Thursday, February 28, 2008 12:35 PM Robbe Morris - [MVP] C# wrote:
I had some odd issues with MDI parents as well.
This link shows how I got around them:

http://www.eggheadcafe.com/tutorial...84-57049e53b8c5/mdi-net-forms-include-do.aspx

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web apps
without IT programmers.
Free download: http://www.equalssolved.com/default.aspx




news:[email protected]...
 
Back
Top