NAME

OleUIAddVerbMenuW  (OLEDLG.14)

SYNOPSIS

 BOOL OleUIAddVerbMenuW
 (
  LPOLEOBJECT lpOleObj,
  LPCWSTR     lpszShortType,
  HMENU       hMenu,
  UINT        uPos,
  UINT        uIDVerbMin,
  UINT        uIDVerbMax,
  BOOL        bAddConvert,
  UINT        idConvert,
  HMENU*      lphMenu
 )

DESCRIPTION

Adds Object menu for the OLE object.

PARAMS

lpOleObj [I ] pointer to the OLE object.
lpszShortType [I ] short name of the object or NULL if it is unknown.
hMenu [I ] menu handle.
uPos [I ] menu item position.
uIDVerbMin, [I ] min Verb ID.
uIDVerbMax, [I ] max Verb Id (0 if it's not used).
bAddConvert [I ] TRUE if the item "Converting" is needed in the bottom of menu.
idConvert [I ] Id of the item "Converting".
lphMenu [IO] pointer to the popup menu, if created.

NOTES

If lpOleObj is NULL, then a default disabled menu item is created.

RETURNS

TRUE if at least one verb was added to the menu FALSE if disabled default menu item was created.

TODO

Check if OLE object has no verbs

IMPLEMENTATION

Defined in "oledlg.h".

Implemented in "dlls/oledlg/oledlg_main.c". source.winehq.org/source/dlls/oledlg/oledlg_main.c

Debug channel "ole".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.