next up previous contents
Next: Inquire Viewport Dimensions Up: Viewport Inquiry Subprograms Previous: Inquire Current Viewport

Inquire Viewport Cursor Position

This Subroutine returns the Cursor Position within the specified Viewport in the currently setup Viewport Mode (Text or Graphics).

Short Name Calling Sequence

STATUS = UIIQVC(VPRTID,XCOR,YCOR)

Long Name Calling Sequence

STATUS = UI_INQUIRE_VIEWPORT_CURSOR(...)

Input Arguments

VPRTID (Integer) Viewport ID

Output Arguments

XCOR (Real) X Coordinate YCOR (Real) Y Coordinate

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport UIILVP )

Note:

  1. The Cursor Position is returned in the Units appropriate for the currently setup Viewport Mode (Text or Graphics).


Liz Buckle
Fri Jan 13 17:49:20 CST 1995