IOleObject::EnumVerbs
Exposes a pull-down menu listing the verbs available for an object in ascending order by verb number. HRESULT EnumVerbs( IEnumOleVerb **ppEnumOleVerb
| //Ptr to storage of enumerator
|
);
|
|
where OLEVERB is defined as: typedef struct tagOLEVERB { LONG iVerb; LPOLESTR lpszVerbName; DWORD fuFlags; DWORD grfAttribs; } OLEVERB; The following table describes the members of the OLEVERB structure:
OLEVERB Member
| Description
|
iVerb
| Verb number being enumerated. If the object supports OLEIVERB_OPEN,
OLEIVERB_SHOW and/or OLEIVERB_HIDE (or another predefined verb), these will be the first
verbs enumerated, since they have the lowest verb numbers.
|
lpszVerbName
| Name of the verb.
In Windows, this value, along with optional embedded ampersand characters to indicate accelerator keys, can be passed to the AppendMenu function. On the Macintosh, the following metacharacters may be passed along with this value: |
|
|
|
|
|
|
| The metacharacters / and ^ are not permitted.
|
fuFlags
| In Windows, a group of flags taken from the flag constants beginning with MF_
defined in AppendMenu. Containers should use these flags in building an object's verb menu. All
Flags defined in AppendMenu are supported except for:
|
| |
| |
|
|
grfAttribs
| In Windows, a group of flag bits taken from the enumeration OLEVERBATTRIB. The flag OLEVERBATTRIB_NEVERDIRTIES indicates that executing this verb will
not cause the object to become dirty and is therefore in need of saving to
persistent storage.
OLEVERBATTRIB_ONCONTAINERMENU indicates that this verb should be placed on the container's menu of object verbs when the object is selected. OLEIVERB_HIDE, OLEIVERB_SHOW, and OLEIVERB_OPEN never have this value set. |
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database