hiRegZoomPanProc
hiRegZoomPanProc(
t_procedureName
[ w_window ]
)
=> t / nil
Description
Registers a SKILL procedure for a graphics window that gets called whenever a user uses a zoom, pan, fit, or redraw command in that window. If you do not specify a window while registering the procedure, the procedure gets called whenever the user uses these commands in any graphics window. The SKILL procedure is passed the window ID.
To unregister the procedure, use the hiUnregZoomPanProc function.
Arguments
|
t_procedureName
|
The name of the SKILL procedure to be called when the user uses a zoom, pan, fit, or redraw command in a graphics window.
This SKILL procedure passes two arguments: the first argument is the window ID and the second argument is the bounding box of the display specified in user units.
|
|
w_window
|
The ID of the window for which you want to register the SKILL procedure.
If you do not specify this argument, the procedure is called whenever the user uses a zoom, pan, fit, or redraw command in any graphics window.
|
Value Returned
|
t
|
The procedure was registered.
|
|
nil
|
There was an error.
|
Related Topics
hiUnregZoomPanProc
Viewing Functions
Return to top