Important: The information in this document is obsolete and should not be used for new development.
GXGetWindowViewPortYou can use the
GXGetWindowViewPortfunction to return the view port of a specified Macintosh window.
gxViewPort GXGetWindowViewPort(WindowPtr qdWindow);
- A pointer to the specified window.
- function result
- A reference to the view port associated with the specified window.
DESCRIPTIONThe function returns
nilif the window has no associated view port.
ERRORS, WARNINGS, AND NOTICES
SEE ALSOTo 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
GXGetViewPortWindowfunction, described in the previous section.