Mandragon

I have an MDI Form that has 4 child forms that have

TopMost = true;

However when I set TopMost = false; These windows still stay on top within the MDI Form.

Is there any other setting that could cause these forms to stay on top

Thanks for your help!


Re: Windows Forms General MDI and TopMost...

Alan Robbins

Mandragon

If you're showing these dialogs with the MDI parent as the form parent (e.g. Dialog.Show(Parent) as opposed to Dialog.Show()) they will show up on top. I'm assuming here that they aren't MDI children.

HTH






Re: Windows Forms General MDI and TopMost...

Mandragon

Your question put me onto the answer, Thanks! The MdiParent was being assigned using a function that was in some unmanaged code in a dll that I have no idea about. So, I took that code out and set the parent directly.

Thanks again,

Mandragon