CURSOR Procedure

Reads the position of the interactive graphics cursor from the current graphics device.

Usage

Input Parameters

Value Keyword Action
0 Nowait Return immediately.
1 Wait Return if button pressed (the default value).
2 Change Return if button pressed, changed, or pointer moved.
3 Down Return when button down transition is detected.
4 Up Return when button up transition is detected.


UNIX and OpenVMS Users: Not all wait modes work with all display devices. Many devices, such as Tektronix terminals, do not have the ability to return immediately, and so always wait. In addition, not all types of waiting are available for devices that do not have the ability to sense transitions or states.

Output Parameters

Keywords

Discussion


NOTE: Not all graphics devices have interactive cursors.

Example 1


Example 2






See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.