-
MDI forms
Hey,
I have a mdi parent form.
i also have 1 mdi child form that is always open.
My problem is if another mdichild form opens up and is maximized, the first one is maximized as well.
This is problematic when a child form is opened whose min and max buttons are disabled but it is still maximized.
Is there a way to prevent that?
Thanks,
-
Re: MDI forms
That's the way MDI works. Maybe your permanent window should be a modeless dialogue, like a pallette window, rather than an MDI child.
-
Re: MDI forms
it can't be because if it was, maximizing it will cover the parent form's toolbar.
damn.
-
Re: MDI forms
Basically you're abusing MDI. The "D" stands for "document". It was intended to enable you to display multiple documents within the same parent window. It sounds to me like your permanent window is not a document, thus it doesn't really belong within the MDI client area. It should be a modeless dialogue or a docked control/navigation panel within the parent form itself. Obviously we don't have all the details of your app but you're trying to make your forms do something that MDI was never intended to do.