IUIX_CmdItemBox::InsertSeparator Method
From PDF XChange PDF SDK
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.