Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VerticalPosition property contains the y-coordinate of the mouse.
This property is read/write.
Syntax
HRESULT put_VerticalPosition(
[in] long position
);
HRESULT get_VerticalPosition(
[out] long *position
);
| VB |
|---|
|
Property value
The y-coordinate of the mouse. When using absolute coordinates, this value specifies the new y-coordinate of the mouse. When using relative coordinates, this value specifies the number of pixels the mouse should be moved in the y direction.
This property value is read/write.
Error codes
| Name | Meaning |
|---|---|
|
The operation was successful. |
|
The parameter is NULL. |
|
Additions must be installed to retrieve the mouse position, or to set the mouse position using absolute coordinates. |
|
The mouse device is currently set to use relative mouse coordinates. |
|
The mouse device has not been powered up, or is not currently active in the virtual machine. |
|
An unexpected error occurred. |
Remarks
This property cannot be retrieved when using relative coordinates.
Requirements
| Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
| Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
| Header |
|