IUIX_CmdMenu::InsertItem3 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertItem3([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT InsertItem3([in] BSTR sItemID, |
− | [in] BSTR | + | [in] BSTR sText, |
[in] IUIX_CmdHandler* pCmdHandler, | [in] IUIX_CmdHandler* pCmdHandler, | ||
[in, defaultvalue(0)] LONG nTargetID, | [in, defaultvalue(0)] LONG nTargetID, | ||
[in, defaultvalue(NULL)] IUIX_Icon* pIcon, | [in, defaultvalue(NULL)] IUIX_Icon* pIcon, | ||
− | [in, defaultvalue("")] BSTR | + | [in, defaultvalue("")] BSTR sTip, |
[in, defaultvalue(-1)] LONG nIndexBefore, | [in, defaultvalue(-1)] LONG nIndexBefore, | ||
[in, defaultvalue(0)] LONG nStyle, | [in, defaultvalue(0)] LONG nStyle, | ||
− | [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** | + | [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** pItem);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sItemID |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sText |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
;pCmdHandler | ;pCmdHandler | ||
Line 30: | Line 30: | ||
;pIcon | ;pIcon | ||
:[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | ||
− | ; | + | ;sTip |
:[in, defaultvalue("")] Value of BSTR. | :[in, defaultvalue("")] Value of BSTR. | ||
;nIndexBefore | ;nIndexBefore | ||
Line 36: | Line 36: | ||
;nStyle | ;nStyle | ||
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;pItem |
:[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | ||
Revision as of 03:15, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT InsertItem3([in] BSTR sItemID, [in] BSTR sText, [in] IUIX_CmdHandler* pCmdHandler, [in, defaultvalue(0)] LONG nTargetID, [in, defaultvalue(NULL)] IUIX_Icon* pIcon, [in, defaultvalue("")] BSTR sTip, [in, defaultvalue(-1)] LONG nIndexBefore, [in, defaultvalue(0)] LONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** pItem);
Parameters
- sItemID
- [in] Value of BSTR.
- sText
- [in] Value of BSTR.
- pCmdHandler
- [in] Pointer to IUIX_CmdHandler.
- nTargetID
- [in, defaultvalue(0)] Value of LONG.
- pIcon
- [in, defaultvalue(NULL)] Pointer to IUIX_Icon.
- sTip
- [in, defaultvalue("")] Value of BSTR.
- nIndexBefore
- [in, defaultvalue(-1)] Value of LONG.
- nStyle
- [in, defaultvalue(0)] Value of LONG.
- pItem
- [out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
Return Value
Returns S_OK if operation was successful or error code in other cases.