RestrictCursor

Description:

baRestrictCursor restricts the cursor to a specified part of the screen.

Platforms:

Windows

Usage:

baRestrictCursor( Left, Top, Right, Bottom )

Arguments:

Integer, integer, integer, integer.
Left, Top, Right, Bottom define the rectangle that the cursor will be restricted to. They are measured in pixels from the top left corner of the screen.

Returns:

Void.

Examples:

Director:
baRestrictCursor( 100, 100, 200, 200 )

Authorware:
baRestrictCursor( 100, 100, 200, 200 )
 

Notes:

Use the baFreeCursor function to return the cursor to its normal state.
 

See also:

baFreeCursor
baPlaceCursor