Adds to the menu entries for the "verbs" that a component in an ole-control-pane supports.
capi
ole-control-add-verbs pane menu item-identifier
pane⇩ |
An ole-control-pane. |
menu⇩ |
A menu. |
item-identifier⇩ |
A string or symbol. |
The function ole-control-add-verbs
adds to the menu entries for the "verbs" that the component supports. The ole-control-pane pane must have an object already, and the menu menu must have already been created, so ole-control-add-verbs
is typically called in the popup-callback of menu.
item-identifier identifies an item in the menu or a component in the menu (but not in a sub-menu), either by being cl:eq to the name of the item or cl:equalp to the title of the item. If the item is found, it is replaced either by a sub-menu with the verbs that the object supports, or, if the object supports only one verb, by an entry for this.
When the user selects an added menu item, the verb is passed to the object (by a call to IOleObject::DoVerb
).
This function is implemented only in LispWorks for Windows. Load the functionality by (require "embed")
.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42