Navigation:  thinBasic Modules > UI (User Interface) > Windows >

Win_SetCursor

Previous pageReturn to chapter overviewNext page

 

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