Important: The information in this document is obsolete and should not be used for new development.
SetWRefCon
Use theSetWRefConprocedure to set therefConfield 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
refConfield.DESCRIPTION
TheSetWRefConprocedure places the specified data in therefConfield of the specified window record. TherefConfield 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 therefConfield. See Listing 4-16 on page 4-60 for an example that uses the contents of therefConfield.