The BOX_CURSOR procedure emulates the operation of a variable-sized box cursor (also known as a " marquee" selector).
CAUTION: BOX_CURSOR does not function properly when used within a draw widget. See the BUTTON_EVENTS and MOTION_EVENTS keywords in WIDGET_DRAW .
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.
Once the box cursor has been realized, hold down the left mouse button to move the box by dragging. Hold down the middle mouse button to resize the box by dragging. (The corner nearest the initial mouse position is moved.) Press the right mouse button to exit the procedure and return the current box parameters.