vcl-164006-expressdockinglibrary-quick-start-building-user-interfaces-using-dock-controls-in-mdi-applications.md
The approach described in the Creating a Visual Studio .NET like Interface is not appropriate for MDI applications. This is because MDI child windows will not be visible if a dock site fills the form’s entire client area. Thus, you need to use the dock sites’ auto size feature to use dock windows in your MDI applications. This topic shows a simple example of creating such an application.
Follow the steps below:
The image below shows an example of a running MDI application. A panel is docked to the dock site residing at the form’s left edge.
Note
the approach described in this topic is not restricted to MDI applications, of course. You can also use it when developing non-MDI applications. However, using a single dock site occupying the entire form’s area provides more flexibility for dock control arrangements. Please refer to the Layout Sites topic for additional information.
See Also