1.15.6 Cursor Functions

Cursor functions set, move, show, hide, and confine the cursor. Following are the cursor functions:

Function Description

ClipCursor Restricts the cursor to a given rectangle.
CopyCursor Copies a cursor.
CreateCursor Creates a cursor from two bit masks.
DestroyCursor Destroys a cursor created by the CreateCursor function.
GetClipCursor Retrieves the screen coordinates of the rectangle to which the cursor has been restricted.
GetCursor Retrieves the handle of the current cursor.
GetCursorPos Stores the cursor position (in screen coordinates).
LoadCursor Loads a cursor from the resource file.
SetCursor Sets the cursor shape.
SetCursorPos Sets the position of the cursor.
ShowCursor Increases or decreases the cursor display count.

For detailed information about the cursor functions, see the Microsoft Windows Programmer's Reference, Volume 2.