IUIX_CmdItemBox::InsertSeparator Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdItemBox::InsertSeparator Method}} | {{#customTitle:IUIX_CmdItemBox::InsertSeparator Method}} | ||
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|InsertSeparator|method}} | {{#parentPage:PXV:IUIX_CmdItemBox#Methods|InsertSeparator|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Inserts separator [[PXV:IUIX_CmdItem|command item]] into the command items box. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 14: | ||
== Parameters == | == Parameters == | ||
;nIndexBefore | ;nIndexBefore | ||
− | :[in, defaultvalue(-1)] Value of LONG. | + | :[in, defaultvalue(-1)] Value of LONG containing the separator's insert index. |
;nStyle | ;nStyle | ||
− | :[in, defaultvalue(0)] Value of LONG. | + | :[in, defaultvalue(0)] Value of LONG containing the [[PXV:UIX_CmdItemStyleFlags|separator's style]]. |
;pItem | ;pItem | ||
− | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]]. | + | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]] containing the newly inserted separator. |
== Return Value == | == Return Value == |
Latest revision as of 07:17, 24 March 2016
Inserts separator command item into the command items box.
Syntax
HRESULT InsertSeparator([in, defaultvalue(-1)] LONG nIndexBefore, [in, defaultvalue(0)] LONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_CmdItem** pItem);
Parameters
- nIndexBefore
- [in, defaultvalue(-1)] Value of LONG containing the separator's insert index.
- nStyle
- [in, defaultvalue(0)] Value of LONG containing the separator's style.
- pItem
- [out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdItem containing the newly inserted separator.
Return Value
Returns S_OK if operation was successful or error code in other cases.