tags:

views:

673

answers:

1

I have an MDI form with child form.
I keep the MDI form in normal by default.
When I maximize the MDI, the child form is not maximized within it.
What do I need to do to make it resize along with its parent?

+1  A: 

use a custom event - when the parent changes window state to maximized, it raises the event; child forms attach to the event and maximize themselves

of course this begs the question of "why would you want to do this?" since only the last child to maximize itself will be visible...

Steven A. Lowe