| Home
| Previous
| Next
| Up

SetCursorPos

Sets the hardware cursor position.

Declaration

N_int32 NAPI GA_cursorFuncs::SetCursorPos(
N_int32 x,
N_int32 y)

Prototype In

snap/graphics.h

Parameters

x | X coordinate of the cursor position
y | Y coordinate of the cursor position

Return Value

Ignored. The return value is obsolete and should always be ignored.

Description

This function sets the location of the hardware cursor in display coordinates. This function takes the X and Y coordinates of the new cursor location. This function will place the cursor so that the hotspot of the currently active cursor image is located at the specified (X,Y) location, and will correctly handle special cases where the cursor image needs to be located off the edges of the display screen (such as when X=0, Y=0 and HotX,HotY > 0).

See Also

SetMonoCursor, SetMonoCursorColor, SetColorCursor, SetCursorPos, ShowCursor, BeginAccess, EndAccess, SetColorCursor256, SetColorCursorRGBA, IsHardwareCursor, SetColorCursorRGB

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com