next up previous contents
Next: Display a Viewport Up: Viewport Manipulation Subprograms Previous: Lock Viewport

Unlock Viewport

This Subprogram unlocks the currently setup Viewport such that it may be Dropped via a call to UI_DROP_VIEWPORT.

Short Name Calling Sequence

STATUS = UIULVP(PASSWD)

Long Name Calling Sequence

STATUS = UI_UNLOCK_VIEWPORT(...)

Input Arguments

PASSWD (Integer*4) Password

Output Arguments

None

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport UIILVP ) Note:

  1. The Password must correspond to that used to lock the Viewport in a prior call to UI_LOCK_VIEWPORT or the request will be ignored and error UI__ILLEGAL_VIEWPORT will be returned.
  2. This Subprogram afects both the Text and Graphics Viewports.
  3. Viewports are unlocked by default.


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