nextControl
ControlRecord structure
#include <Controls.h>
typedef struct ControlRecord { Size Offset Description
ControlHandle nextControl; 4 0 Leads to next control in window
WindowPtr contrlOwner; 4 4 Window in which this control is
displayed
Rect contrlRect; 8 8 Enclosing rectangle MoveControl
Byte contrlVis; 1 16 255=visible HideControl
Byte contrlHilite; 1 17 0=none, else=control part
short contrlValue; 2 18 Current setting SetCtlValue
short contrlMin; 2 20 Minimum value SetCtlMin
short contrlMax; 2 22 Maximum value SetCtlMax
Handle contrlDefProc; 4 24 Control definition proc, for more
info, see Custom Controls
Handle contrlData; 4 28 Additional data or 0
ProcPtr contrlAction; 4 32 proc addr SetCtlAction,
long contrlRfCon; 4 36 Reference for application usage
Str255 contrlTitle; n 40 Length-prefixed title text
} ControlRecord ; 40+n
typedef ControlRecord *ControlPtr;
typedef ControlRecord **ControlHandle;