Important: The information in this document is obsolete and should not be used for new development.
GXGetWindowViewPort
You can use theGXGetWindowViewPort
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 returnsnil
if the window has no associated view port.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory 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 theGXGetViewPortWindow
function, described in the previous section.