Important: The information in this document is obsolete and should not be used for new development.
GetWRefCon
Use theGetWRefCon
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
TheGetWRefCon
function returns the long integer data stored in therefCon
field of the specified window record.SEE ALSO
See the section "Managing Multiple Windows" beginning on page 4-23 for suggested ways to use therefCon
field. See Listing 4-1 on page 4-25 for an example of an application-defined routine that gets therefCon
field.