All Manuals > CAPI User Guide > 3 Creating Common Windows > 3.3 Displaying and entering text

NextPrevUpTopContentsIndex

3.3.1 Display panes

Display panes can be used to display text messages on the screen. The text in these messages cannot be edited, so they can be used by the application to present a message to the user. The :text keyword can be used to specify the message that is to appear in the pane.

  1. Create a display pane by evaluating the code below:
(setq display (make-instance 'display-pane
                    :text "This is a message"))
(contain display)

Figure 3.3 A display pane

Note that the window title, which defaults to "Container" for windows created by contain , may appear truncated.


CAPI User Guide (Windows version) - 30 Aug 2011

NextPrevUpTopContentsIndex