Hiding MDI toolbar

T

The_Assimilator

My app uses an MDI interface. However, one of the design requirements is
that the MDI children don't actually behave like MDI forms, in that the
small toolbar containing the MDI minimize/maximize/close buttons is not
shown when an MDI child is opened in its parent. Also, the MDI children
shouldn't be able to be resized and closed; they need to remain at their
full size.

Is there any way to have an MDI interface, without the features of MDI?
If not, I'll have to look at using panels instead of forms.
 
M

Martin Stainsby

The_Assimilator said:
Is there any way to have an MDI interface, without the features of MDI?

Yes.

just use a normal Form as the mainform, then any child forms need to have
their TopLevel property set to false. Then set the childs Parent property as
the mainform.

Preferably I would put a menu and toolbars the mainform then drop a panel on
the mainform and dock it to "fill". The panel's client area would simulate
the mdiclient. Of course the childs parent property would then be set to the
panel.
 

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