471,355 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,355 software developers and data experts.

Override default MDI behavoir

Hi.

I am creating an application (primarily in C#), with MDI child windows. What
I would like to do, is to override the default behavoir that makes a newly
createad child form maximized if the topmost childform that already exists
is also maximized. Furthermore, if I maximize one form, I don't want all the
other forms to be maximized, and the same thing goes for 'restoring' forms
to their original size.

Any ideas?

Thanks,

Eyvind.
Jul 21 '05 #1
2 1304
Eyvind,

When you create a midi you tell
frm.mdiparent = me

You can use that mdiparent forever in your mdi.
By instance by seting it to maximises.

As well can you use in a form forever the mdichildren to see what is the
status of a mdi child.
http://msdn.microsoft.com/library/de...ldrentopic.asp

I hope this helps,

Cor
Jul 21 '05 #2
Cor,

I am aware of the things you mention, however, this is not what my question
was about. Allow me to try to rephrase the question:

When an MDI child form is maximized inside an MDI container form, and
another MDI child form is opened, the new MDI child form is by default
maximized as well. Is there a way to override this default behavior?

Thanks,

Eyvind.

"Cor Ligthert" <no************@planet.nl> skrev i melding
news:uM****************@TK2MSFTNGP15.phx.gbl...
Eyvind,

When you create a midi you tell
frm.mdiparent = me

You can use that mdiparent forever in your mdi.
By instance by seting it to maximises.

As well can you use in a form forever the mdichildren to see what is the
status of a mdi child.
http://msdn.microsoft.com/library/de...ldrentopic.asp

I hope this helps,

Cor

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

24 posts views Thread by LineVoltageHalogen | last post: by
reply views Thread by Craig Schneider | last post: by
2 posts views Thread by Flip | last post: by
18 posts views Thread by bhavin | last post: by
8 posts views Thread by bdeviled | last post: by
4 posts views Thread by TJS | last post: by
2 posts views Thread by Eyvind W Axelsen | last post: by
2 posts views Thread by Jason Huang | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.