Link to home
Start Free TrialLog in
Avatar of nickhurd
nickhurd

asked on

Resizing mdi child forms so they don't maximize when another form is maximized

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.

Thanks,
Nick Hurd
ASKER CERTIFIED SOLUTION
Avatar of rspahitz
rspahitz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

nickhurd:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
Avatar of DanRollins
nickhurd, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer