Computes the menu bar for a document-frame on Microsoft Windows.
capi
merge-menu-bars frame document => menus
frame⇩ | |
document⇩ |
An interface or nil . |
menus |
A list of menu objects. |
The generic function merge-menu-bars
is called by the system to compute the menu bar for a document-frame interface frame.
The set of visible menus in such an interface is typically made up from those of frame and those of the active document document within it.
There is a built-in unspecialized method that appends the menu bars of the two interfaces and is equivalent to this:
(defmethod capi:merge-menu-bars ((frame t) (document t)) (append (capi:interface-menu-bar-items frame) (and document (capi:interface-menu-bar-items document))))
You can customize the menu bar by adding methods which specialize on particular frame and document interface classes.
merge-menu-bars
is implemented only in LispWorks for Windows.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27