MoveToPointer method

Moves this display pointer to the position of another display pointer.

Syntax

HRESULT retVal = object.MoveToPointer(pDispPointer);

Parameters

  • pDispPointer [in]
    Type: [IDisplayPointer](aa752668(v=vs.85).md)

    A pointer to an IDisplayPointer interface that specifies where to move the display pointer.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The display pointer specified by pDispPointer does not have to be in the same markup container as the one to be moved.