Resizing mdi child forms so they don't maximize when another form is maximized
Posted on 2003-03-11
My application can have several child forms open at a time. One of the problems is that if one of the forms is maximized all the child forms maximize.
I've partially gotten around this by testing to see if screen.activeform.name = me.name. I use a static variable to save a value of what state the form was in the last time resize is called.
The problem is that resize is not called when you click on the minimize button when the form doesn't have focus. So, the pre-minimize value is still saved.
What can I do to capture all events related to the form resize, or just keep the forms the same size when another form is maximized.