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: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Components / Working With Component Reference Constants


SetComponentRefcon

You can use the SetComponentRefcon procedure to set the reference constant for your component.

PROCEDURE SetComponentRefcon (aComponent: Component; 
                              theRefcon: LongInt);
aComponent
A component identifier that specifies the component whose reference constant you wish to set.
theRefCon
The reference constant value that you want to set for your component.
DESCRIPTION
The SetComponentRefcon procedure sets the value of the reference constant for your component. Your component can later retrieve the reference constant using the GetComponentRefcon function, described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996