Adds the Verb menu for the specified object to the given menu.
BOOL OleUIAddVerbMenu(
LPOLEOBJECT *lpOleObj, |
//Pointer to the object |
LPCTSTR lpszShortType, |
//Pointer to the short name corresponding to the object |
HMENU hMenu, |
//Handle to the menu to modify |
UINT uPos, |
//Position of the menu item. |
UINT uIDVerbMin, |
//Value at which to start the verbs |
UINT uIDVerbMax, |
//Maximum identifier value for object verbs |
BOOL bAddConvert, |
//Whether to add convert item |
UINT idConvert, |
//Value to use for the convert item |
HMENU FAR * lphMenu |
//Pointer to the cascading verb menu, if created |
); |
Parameters
Return Values
Remarks
If the object has one verb, the verb is added directly to the given menu. If the object has multiple verbs, a cascading sub-menu is created.