MDI Behaviour

M

Maqsood Ahmed

Hello,
Usually when I drop some controls at the MDI Parent and later open Mdi
Child forms, I can see MDI Parent controls on the top of child forms. Is
there any way that we can display Child forms without displaying MDI
Parent controls. I know that SetWindowPos can make a child form topmost.
but It'll be on the top of all other forms too which is not a good
solution to the problem.
Any suggestions in this regard will be appreciated.

TIA

Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net
 
M

Mark Broadbent

If all you want is to hide them if a child form is open, then probably the
best workaround to do this would be to create a procedure
showParentControls(bool show)
and use that to show/ hide them once a child is open or all are closed.

Obviously you will probably need to keep track of the if there are any
childs open or not.

br,

Mark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top