all groups > dotnet windows forms > february 2008 >
You're in the

dotnet windows forms

group:

MDI Parent Child Maximize form issue


MDI Parent Child Maximize form issue Ron
2/27/2008 3:04:43 PM
dotnet windows forms:
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
Re: MDI Parent Child Maximize form issue Robbe Morris - [MVP] C#
2/28/2008 12:35:42 PM
I had some odd issues with MDI parents as well.
This link shows how I got around them:

http://www.eggheadcafe.com/tutorials/aspnet/353c2586-7757-4ebf-ad84-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




[quoted text, click to view]
AddThis Social Bookmark Button