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: Macintosh Toolbox Essentials /
Chapter 4 - Window Manager / Window Manager Reference
Window Manager Routines / Setting and Retrieving Other Window Characteristics


GetWRefCon

Use the GetWRefCon function to retrieve the reference constant from a window's window record.

FUNCTION GetWRefCon (theWindow: WindowPtr): LongInt;
theWindow
A pointer to the window's window record.
DESCRIPTION
The GetWRefCon function returns the long integer data stored in the refCon field of the specified window record.

SEE ALSO
See the section "Managing Multiple Windows" beginning on page 4-23 for suggested ways to use the refCon field. See Listing 4-1 on page 4-25 for an example of an application-defined routine that gets the refCon field.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996