IUIX_CmdBar::MoveBoxes Method
From PDF XChange PDF SDK
Moves command item boxes inside or between the command bars.
Syntax
HRESULT MoveBoxes([in] LONG nIndex, [in] LONG nNewIndex, [in, defaultvalue(1)] LONG nCount, [in, defaultvalue(NULL)] IUIX_CmdBar* pNewBar);
Parameters
- nIndex
- [in] Value of LONG containing the starting index of the command item boxes that should be moved.
- nNewIndex
- [in] Value of LONG containin the destination index where the boxes will be moved.
- nCount
- [in, defaultvalue(1)] Value of LONG containing the number of boxes that will be moved.
- pNewBar
- [in, defaultvalue(NULL)] Pointer to IUIX_CmdBar containing the command bar where the boxes will be moved. If NULL is specified then the boxes will be moved inside the current command bar.
Return Value
Returns S_OK if operation was successful or error code in other cases.