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


SetWRefCon

Use the SetWRefCon procedure to set the refCon field of a window record.

PROCEDURE SetWRefCon (theWindow: WindowPtr; data: LongInt);
theWindow
A pointer to the window's window record.
data
The data to be placed in the refCon field.
DESCRIPTION
The SetWRefCon procedure places the specified data in the refCon field of the specified window record. The refCon field is available to your application for any window-related data it needs to store.

SEE ALSO
See Listing 4-3 on page 4-28 for an example that sets the refCon field. See Listing 4-16 on page 4-60 for an example that uses the contents of the refCon field.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996