FANDOM



This command will change the cursor that belongs to the mouse pointer.

Syntax
CHANGE MOUSE Cursor Number
Parameters
Cursor Number

Integer
A value of zero uses the applications arrow cursor and a value of one will use the hourglass cursor. Values from 2 to 31 use the project cursors and 32 equates to no cursor

Returns

This command does not return a value.

Description

A value of zero uses the applications arrow cursor and a value of one will use the hourglass cursor. Values 2 to 31 are custom cursors that can be specified in the project media section and selected with this command. In order to use your own custom cursor, you must first fill the cursor media with an arrow in the first slot and an hourglass in the second slot to maintain basic application requirements. A value of 32 will specify that NO cursor be used, and will refrain from updating the system cursor when WM_MOUSEMOVE is called.

Example Code
cls

if mouseclick()=1 then change mouse 0

if mouseclick()=2 then change mouse 1

do

loop

end