Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 1 - QuickDraw GX and the Macintosh Environment / QuickDraw GX and the Macintosh Environment Reference
Macintosh Interface Functions / Associating View Ports With Macintosh Windows


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
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 the GXGetViewPortWindow function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996