NvtSetCursorPos
BOOL NvtSetCursorPos(
HDISPLAY hDisplay,  
INT nCursorX,  
INT nCursorY  
);

The NvtSetCursorPos function sets the current cursor column and row position on the virtual display.

Parameters

hDisplay
Handle to the virtual display.
nCursorX
New cursor column position. If this value is greater than the maximum number of columns, the current position is set to the last column on the display. The first column on the display is zero.
nCursorY
New cursor row position. If this value is greater than the maximum number of rows, the current position is set to the last row on the display. The first row on the display is zero.

Return Value

If the function succeeds, the return value is non-zero. If the handle to the virtual display is invalid, the function will return zero.

Remarks

The NvtSetCursorPos function sets the current cursor position on the virtual display. If the display is in origin mode (a scrolling region has been set), then the cursor row position is bound by the current region.

Requirements

Client: Requires Windows Vista, Windows XP or Windows 2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnvtav6.lib.
Unicode: Implemented as Unicode and ANSI versions.

See Also

NvtGetCursorPos


Copyright © 2008 Catalyst Development Corporation. All rights reserved.