All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

ole-control-add-verbs Function

Summary

Adds to the menu entries for the "verbs" that a component in an ole-control-pane supports.

Package

capi

Signature

ole-control-add-verbs pane menu item-identifier

Arguments
pane
menu
A menu.
item-identifier
A string or symbol.
Description

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).

Notes

This function is implemented only in LispWorks for Windows. Load the functionality by (require "embed").

See also

menu
ole-control-pane


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57