IUIX_CmdItemBox::InsertSeparator Method

From PDF XChange PDF SDK
Revision as of 08:17, 24 March 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

See Also

IUIX_CmdItemBox