IUIX_CmdBar::FlatInsertSeparator Method

From PDF XChange PDF SDK
Jump to: navigation, search


Inserts separator by the given FlatIndex.

Syntax

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

Parameters

nFlatIndexBefore
[in, defaultvalue(-1)] Value of LONG containing the FlatIndex of the command item before which the separator would be inserted.
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_CmdBar