IUIX_CmdBar::InsertSeparator Method

From Tracker Software PDF SDK
Jump to: navigation, search


Inserts separator type command item into the specified command items box.

Syntax

HRESULT InsertSeparator([in, defaultvalue(-1)]             LONG            nIndexBefore,
                        [in, defaultvalue(0)]              LONG            nStyle,
                        [in, defaultvalue(0)]              LONG            nBoxIndex,
                        [out, retval, defaultvalue(NULL)]  IUIX_CmdItem**  pItem);

Parameters

nIndexBefore
[in, defaultvalue(-1)] Value of LONG the index in the command items box wherer the separator will be inserted.
nStyle
[in, defaultvalue(0)] Value of LONG containing the separator's style.
nBoxIndex
[in, defaultvalue(0)] Value of LONG containing the index of the command item box inside the command bar.
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_CmdBar