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
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