Hiding MDI toolbar

  • Thread starter Thread starter The_Assimilator
  • Start date Start date
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.
 
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.
 
Back
Top