Win_SetCursor

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_SetCursor

 

Description

 

Sets the cursor shape.

 

Syntax

 

n = Win_SetCursor(hCursor)

 

Returns

 

Number.

The return value is the handle to the previous cursor, if there was one.

 

Parameters

 

Name

Type

Optional

Meaning

hCursor

Number

No

Handle to the cursor. The cursor must have been created by the CreateCursor function or loaded by the LoadCursor or LoadImage function. If this parameter is NULL, the cursor is removed from the screen.

 

Remarks

 

Restrictions

 

See also

 

Examples