IUIX_Combo::InsertItem Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Combo::InsertItem Method}}
 
{{#customTitle:IUIX_Combo::InsertItem Method}}
{{#parentPage:PXV:IUIX_Combo|method}}
+
{{#parentPage:PXV:IUIX_Combo|InsertItem Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertItem([in]                     LONG       nInsertBefore,
 +
                  [in]                     BSTR       pText,
 +
                  [in, defaultvalue("")]   BSTR       pTooltip,
 +
                  [in, defaultvalue(NULL)] IUnknown* pImage,
 +
                  [in, defaultvalue(0)]     PARAM_T   nItemParam,
 +
                  [in, defaultvalue(0)]     LONG       nItemStyle);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nInsertBefore''
+
;nInsertBefore
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pText''
+
;pText
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''pTooltip''
+
;pTooltip
 
:[in, defaultvalue("")]  Value of BSTR.
 
:[in, defaultvalue("")]  Value of BSTR.
;''pImage''
+
;pImage
 
:[in, optional]  Pointer to IUnknown*.
 
:[in, optional]  Pointer to IUnknown*.
;''nItemParam''
+
;nItemParam
 
:[in, defaultvalue(0)]  Value of PARAM_T.
 
:[in, defaultvalue(0)]  Value of PARAM_T.
;''nItemStyle''
+
;nItemStyle
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
  

Revision as of 06:39, 23 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, defaultvalue(NULL)]  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.