Until now you have used layouts for CAPI elements in which the constituents were displayed in fixed positions set out by the CAPI. In this chapter we will be looking at a number of ways in which users can select the layout and display of CAPI elements in an interface once an instance of the interface has been displayed.
The portable techniques are the use of dividers, switchable layouts and tab layouts. On Microsoft Windows, there is also Multiple-Document Interface (MDI).
Throughout this section we will be using three predefined panes, which you should define before proceeding.
(setq red-pane (make-instance 'output-pane
:background :red))
(setq green-pane (make-instance 'output-pane
:background :green))
(setq blue-pane (make-instance 'output-pane
:background :blue))