SETCURSOR

Top  Previous  Next

Syntax

SETCURSOR(win as WINDOW, type as INT,OPT handle=0 as UINT)

Description

Changes the currently displayed cursor in a window or dialog.

Parameters

win - Window or dialog

type - @CSARROW, @CSWAIT or @CSCUSTOM

handle - Optional. For @CSCUSTOM this is the handle returned by LOADIMAGE

Return value

None

Remarks

See Also: SETICON, LOADIMAGE

Example usage

SETCURSOR mywnd, @CSWAIT