IUIX_Combo::InsertItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertItem([in] LONG nInsertBefore, [in] BSTR pText, [in, optional] BSTR pTooltip, [in, optional] IUnknown* pImage, [in, optional] PARAM_T nItemParam, [in, optional] LONG nItemStyle);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertItem([in] LONG nInsertBefore, [in] BSTR pText, [in, defaultvalue("")] BSTR pTooltip, [in, optional] IUnknown* pImage, [in, defaultvalue(0)] PARAM_T nItemParam, [in, defaultvalue(0)] LONG nItemStyle);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''pTooltip''
 
;''pTooltip''
:[in, optional]  Value of BSTR.
+
:[in, defaultvalue("")]  Value of BSTR.
 
;''pImage''
 
;''pImage''
 
:[in, optional]  Pointer to IUnknown*.
 
:[in, optional]  Pointer to IUnknown*.
 
;''nItemParam''
 
;''nItemParam''
:[in, optional]  Value of PARAM_T.
+
:[in, defaultvalue(0)]  Value of PARAM_T.
 
;''nItemStyle''
 
;''nItemStyle''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 02:00, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertItem([in] LONG nInsertBefore, [in] BSTR pText, [in, defaultvalue("")] BSTR pTooltip, [in, optional] IUnknown* pImage, [in, defaultvalue(0)] PARAM_T nItemParam, [in, defaultvalue(0)] LONG nItemStyle);

Parameters

nInsertBefore
[in] Value of LONG.
pText
[in] Value of BSTR.
pTooltip
[in, defaultvalue("")] Value of BSTR.
pImage
[in, optional] Pointer to IUnknown*.
nItemParam
[in, defaultvalue(0)] Value of PARAM_T.
nItemStyle
[in, defaultvalue(0)] Value of LONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Combo.