All Databases
Inside Mac - Index
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
HiliteControl
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
,
TrackControl
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
;
Referenced by (11):
AuxCtlRec
CWindowRecord
Types.h
WindowRecord
userItem
vAxisOnly
vScroll
KillControls (Inside Mac - Basic Toolbox)
Controls FORTRAN (MacTech Vol 03-1987)
Printing Windows (MacTech Vol 06-1990)
Spiffy Color 1 (code) (MacTech Vol 06-1990)