SetCursor

Description:

baSetCursor sets a system cursor.

Platforms:

Windows

Usage:

baSetCursor( Type. Filename )

Arguments:

String, string.
Type is the type of cursor to set. Can be:
   "Normal"
   "AppStarting"
   "Cross"
   "Hand"
   "Help"
   "iBeam"
   "No"
   "SizeAll"
   "SizeNESW"
   "SizeNS"
   "SizeNWSE"
   "SizeWE"
   "Up"
   "Wait"
Filename is the name of .ico file to use.

Returns:

Integer.
Returns 1 if successful, else 0.

Examples:

Director:
ok = baSetcursor( "wait", the moviePath & "waitCursor.ico" )

Authorware:
ok := baSetcursor( "wait", FileLocation ^ "waitCursor.ico" )
 

Notes:

The cursor will remain in force until the computer is rebooted..

Use baLoadDefaultCursors to restore the user's default cursors.
 

See also:

baSetCursor