Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find bounds of viewable area in MDI form

Status
Not open for further replies.

infimo

Technical User
Apr 8, 2004
22
US
I have an MDI form in which I load child forms. I need to resize the child forms to fit the entire dimensions of the internal viewable area of the MDI form. How can I find this?

If I set the width and height of the MDI form to say, 800 and 600 respectively, the internal viewable area is always lesser (maybe something like 792 and 573).

I was wondering if there's a way to find these bounds in a generic way?

Well, basically I just want to fill up the child form inside the MDI form. But, setting the Startup state to "Maximized" causes some other problems for me.

Thanks in advance.

Infimo
 
Can't you still do a Me.WindowState = WindowState.Maximized?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top