GXGetWindowViewPort
You can use the GXGetWindowViewPort function to return the view port of a specified Macintosh window.
gxViewPort GXGetWindowViewPort(WindowPtr qdWindow);
- qdWindow
- A pointer to the specified window.
-
-
- function result
- A reference to the view port associated with the specified window.
DESCRIPTION
The function returns nil if the window has no associated view port.
ERRORS, WARNINGS, AND NOTICES
SEE ALSO
To create a view port associated with a window, use the GXNewWindowViewPort function, described on page 1-24. To obtain the window associated with a view port, use the GXGetViewPortWindow function, described in the previous section.