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 5 - Control Manager / Control Manager Reference
Control Manager Routines / Determining Control Values


GetAuxiliaryControlRecord

Use the GetAuxiliaryControlRecord function to get a handle to a control's auxiliary control record. The GetAuxiliaryControlRecord function is also
available as the GetAuxCtl function.

FUNCTION GetAuxiliaryControlRecord (theControl: ControlHandle;
                                    VAR acHndl: AuxCtlHandle)
                                    : Boolean;
theControl
A handle to a control.
acHndl
A handle to the auxiliary control record for the control.
DESCRIPTION
In its acHndl parameter, the GetAuxiliaryControlRecord function returns a handle to the auxiliary control record for the specified control. Your application typically doesn't need to access an auxiliary control record unless you need its acRefCon field, which your application can use for any purpose.

The value that GetAuxiliaryControlRecord returns for a function result depends on the control's color control table, as described here:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996