IUIX_Combo::InsertSeparator Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Combo::InsertSeparator Method}}
 
{{#customTitle:IUIX_Combo::InsertSeparator Method}}
 +
{{#parentPage:PXV:IUIX_Combo#Methods|InsertSeparator|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Inserts item of [[PXV:UIX_ComboItemStyleFlags|''separator type'']] into combo box list.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertSeparator([in, defaultvalue(-1)] LONG nInsertBefore);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertSeparator([in, defaultvalue(-1)] LONG nInsertBefore);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nInsertBefore''
+
;nInsertBefore
:[in, defaultvalue(-1)] Value of LONG.
+
:[in, defaultvalue(-1)] specifies a position in a list before that a separator should be inserted. -1 specifies the separator item to be inserted at the end of combo box list.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Combo|IUIX_Combo]].
+
[[PXV:IUIX_Combo|IUIX_Combo]]

Latest revision as of 13:15, 15 June 2015


Inserts item of separator type into combo box list.

Syntax

HRESULT InsertSeparator([in, defaultvalue(-1)]  LONG  nInsertBefore);

Parameters

nInsertBefore
[in, defaultvalue(-1)] specifies a position in a list before that a separator should be inserted. -1 specifies the separator item to be inserted at the end of combo box list.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Combo