Поделиться через


IVMMouse::ScrollWheelPosition property

The ScrollWheelPosition property contains the current z-coordinate of the mouse. The indicated value can only represent relative coordinates.

This property is write-only.

Syntax

HRESULT put_ScrollWheelPosition(
  [in] long position
);

VB
VMMouse.ScrollWheelPosition( _
  ByVal position _
)

Property value

Sets the z-coordinate indicating the number of pixels the mouse is to be moved along the z-axis.

This property value is write-only.

Error codes

Name Meaning
S_OK
The operation was successful.
VM_E_MOUSE_NOT_ACTIVE
The mouse device has not been powered up, or is not currently active in the virtual machine.
VM_E_USING_ABSOLUTE_COORDINATES
The scroll wheel position cannot be set when the mouse device is using absolute coordinates.
DISP_E_EXCEPTION
An unexpected error occurred.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMMouse