Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2003

Tip: Looking for answers? Try searching our database.

mdi child form size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Ogata - 29 Sep 2003 23:25 GMT
Hi all,

It looks like there is a max size imposed on MDI child forms that depends on
screen resolution.  For example, when i'm at 1024x768, the max height of the
child form is 780.  When I'm at 800x600, it's 612.  I programmatically set
the size to be larger than this, but it does not work.

Is there a way around this?  I'd really like to be able to set the height of
the mdi child to be a specific height regardless of the screen resolution.

Thanks,
Jeff
Herfried K. Wagner [MVP] - 30 Sep 2003 00:03 GMT
"Jeff Ogata" <jogata@eatmyspam.com> scripsit:
> It looks like there is a max size imposed on MDI child forms that depends on
> screen resolution.  For example, when i'm at 1024x768, the max height of the
[quoted text clipped - 3 lines]
> Is there a way around this?  I'd really like to be able to set the height of
> the mdi child to be a specific height regardless of the screen resolution.

Forms cannot be larger than the screen.  That's a limitation of Windows.

Signature

Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet

Chris Botha - 30 Sep 2003 03:24 GMT
A workaround may be to set the AutoScroll property of the MDI form to true
and also, after creating it, its WindowState property to Maximized. This
will make it fill the client area of the parent, and you will have a scroll
bar to reach any controls too far down to show. I'm not sure if this is what
you are attempting to achieve.

> Hi all,
>
[quoted text clipped - 8 lines]
> Thanks,
> Jeff

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.