31.2.5 Cursor

Cursor functions set, move, show, hide, and confine the cursor. The cursor is a bitmap, displayed on the display screen, that shows a current location. The following list briefly describes each cursor function:

Function Description

ClipCursor Restricts the cursor to a given rectangle
CreateCursor Creates a cursor from two bit masks
CreateDIBCursor Creates a cursor from a device-independent bitmap.
DestroyCursor Destroys a cursor created by the CreateCursor function
GetClipCursor Gets the rectangle that the cursor has been constrained to.
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