IUIX_CmdItemBox::MoveItems Method

From PDF XChange PDF SDK
Jump to: navigation, search


Moves command items between command item boxes.

Syntax

HRESULT MoveItems([in]                      LONG              nIndex,
                  [in]                      LONG              nNewIndex,
                  [in, defaultvalue(1)]     LONG              nCount,
                  [in, defaultvalue(NULL)]  IUIX_CmdItemBox*  pNewBox);

Parameters

nIndex
[in] Value of LONG containing the starting index of the items that should be moved.
nNewIndex
[in] Value of LONG containing the index in the destination command items box where the commands would be moved to.
nCount
[in, defaultvalue(1)] Value of LONG containing the number of items in the source command items box that should be moved.
pNewBox
[in, defaultvalue(NULL)] Pointer to IUIX_CmdItemBox containing the destination command items box.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdItemBox