Important: The information in this document is obsolete and should not be used for new development.
GetAuxiliaryControlRecord
Use theGetAuxiliaryControlRecordfunction to get a handle to a control's auxiliary control record. TheGetAuxiliaryControlRecordfunction is also
available as theGetAuxCtlfunction.
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 itsacHndlparameter, theGetAuxiliaryControlRecordfunction 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 itsacRefConfield, which your application can use for any purpose.The value that
GetAuxiliaryControlRecordreturns for a function result depends on the control's color control table, as described here:
- If your application has changed the default control color table for the given control (either by using the
SetControlColorprocedure or by creating its own control color table), the function returnsTRUE.- If your application has not changed the default control color table, the function
returnsFALSE.- If you set the parameter
theControltoNIL, the Dialog Manager ensures that
the control uses the default color table, and GetAuxiliaryControlRecord
returnsTRUE.