Computes the menu bar for a document-frame on Microsoft Windows.
The generic function merge-menu-bars
is called by the system to compute the menu bar for a document-frame interface.
The set of visible menus in such an interface is typically made up from those of the frame and those of the active 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.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017