Displays a message on the same screen as a specified pane.
capi
display-message-for-pane pane format-string &rest format-args
| pane⇩ | 
A simple-pane. | 
| format-string⇩ | 
A string. | 
| format-args⇩ | 
Lisp objects. | 
The function display-message-for-pane creates a message from the arguments format-string and format-args using format, and then displays it on the same screen as pane.
If you need to make a window-modal sheet on Cocoa, then use the function prompt-with-message.
The function display-message-on-screen is retained for compatibility with previous versions of LispWorks. It is a synonym for display-message-for-pane.
(setq pane (capi:contain (make-instance
                          'capi:text-input-pane)))
(capi:display-message-for-pane pane 
                              "Just created ~S" pane)
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42