; File:  E16.Control
;
;
; Copyright Apple Computer, Inc. 1986-90
; All Rights Reserved
;
;
noConstraint GEQU $0000 ; No constraint on movement.
hAxisOnly GEQU $0001 ; Horizontal axis only.
vAxisOnly GEQU $0002 ; Vertical axis only.
simpRound GEQU $0000 ; Simple button flag
upFlag GEQU $0001 ; Scroll bar flag. 
boldButton GEQU $0001 ; Bold round cornered outlined button.
simpBRound GEQU $0001 ; Simple button flag
downFlag GEQU $0002 ; Scroll bar flag.
simpSquare GEQU $0002 ; Simple button flag
simpDropSquare GEQU $0003 ; Simple button flag
leftFlag GEQU $0004 ; Scroll bar flag.
rightFlag GEQU $0008 ; Scroll bar flag.
dirScroll GEQU $0010 ; Scroll bar flag.
horScroll GEQU $0010 ; Scroll bar flag.
family GEQU $007F ; Mask for radio button family number
ctlInVis GEQU $0080 ; invisible mask for any type of control 
fCallWindowMgr GEQU $0001 ; Control Template flag value
fSubstituteText GEQU $0002
fSubTextType GEQU $0001
inListBox GEQU $88
simpleProc GEQU $00000000
checkProc GEQU $02000000
radioProc GEQU $04000000
scrollProc GEQU $06000000
growProc GEQU $08000000
drawCtl GEQU $0000 ; Draw control command.
calcCRect GEQU $0001 ; Compute drag RECT command.
testCtl GEQU $0002 ; Hit test command.
initCtl GEQU $0003 ; Initialize command.
dispCtl GEQU $0004 ; Dispose command.
posCtl GEQU $0005 ; Move indicator command.
thumbCtl GEQU $0006 ; Compute drag parameters command.
dragCtl GEQU $0007 ; Drag command.
autoTrack GEQU $0008 ; Action command.
newValue GEQU $0009 ; Set new value command.
setParams GEQU $000A ; Set new parameters command.
moveCtl GEQU $000B ; Move command.
recSize GEQU $000C ; Return record size command.
ctlHandleEvent GEQU $000D ; Handle a keystroke or menu selection
ctlChangeTarget GEQU $000E ; Issued when control's target status has changed
ctlChangeBounds GEQU $000F ; Issued when control's boundary rectangle has changed
ctlWindChangeSize GEQU $0010 ; Window has been grown or zoomed
ctlHandleTab GEQU $0011 ; Control has been tabbed to
ctlNotifyMultiPart GEQU $0012 ; A multipart control has been hidden, drawn or shown
ctlWinStateChange GEQU $0013 ; Window state has changed
noHilite GEQU $0000 ; Param to HiliteControl
inactiveHilite GEQU $00FF ; Param to HiliteControl
noPart GEQU $0000
simpleButton GEQU $0002
checkBox GEQU $0003
radioButton GEQU $0004
upArrow GEQU $0005
downArrow GEQU $0006
pageUp GEQU $0007
pageDown GEQU $0008
growBox GEQU $000A
thumb GEQU $0081
fCtlTarget GEQU $8000 ; is current target of typing commands
fCtlCanBeTarget GEQU $4000 ; can be made the target control
fCtlWantEvent GEQU $2000 ; control can be called view SendEventToCtl
fCtlWantsEvent GEQU $2000 ; control can be called view SendEventToCtl
fCtlWantEvents GEQU $2000 ; control can be called view SendEventToCtl
fCtlWantsEvents GEQU $2000 ; control can be called view SendEventToCtl
fCtlProcRefNotPtr GEQU $1000 ; set = ID of defproc, clear = pointer to defproc
fCtlTellAboutSize GEQU $0800 ; set if ctl needs notification when size of owning window changes
fCtlIsMultiPart GEQU $0400 ; set if ctl needs notification to be hidden
fMenuDefIsText GEQU $0004
colorDescriptor GEQU $000C ; indicates type of reference in colorRef
styleDescriptor GEQU $0003 ; indicates type of reference in styleRef
titleIsPtr GEQU $00
titleIsHandle GEQU $01
titleIsResource GEQU $02
colorTableIsPtr GEQU $00
colorTableIsHandle GEQU $04
colorTableIsResource GEQU $08
ctlHideCtl GEQU $12
singlePtr GEQU $0000
singleHandle GEQU $0001
singleResource GEQU $0002
ptrToPtr GEQU $0003
ptrToHandle GEQU $0004
ptrToResource GEQU $0005
handleToPtr GEQU $0006
handleToHandle GEQU $0007
handleToResource GEQU $0008
resourceToResource GEQU $0009
simpleButtonControl GEQU $80000000
checkControl GEQU $82000000
radioControl GEQU $84000000
scrollBarControl GEQU $86000000
growControl GEQU $88000000
statTextControl GEQU $81000000
editLineControl GEQU $83000000
editTextControl GEQU $85000000
popUpControl GEQU $87000000
listControl GEQU $89000000
iconButtonControl GEQU $07FF0001
pictureControl GEQU $8D000000
wmNotStartedUp GEQU $1001 ; Window manager was not initialized
cmNotInitialized GEQU $1002 ; Control manager was not initialized
noCtlInList GEQU $1003 ; Control not in window list
noCtlError GEQU $1004 ; no controls in window
noSuperCtlError GEQU $1005 ; no super controls in window
noCtlTargetError GEQU $1006 ; no target super control
notSuperCtlError GEQU $1007 ; action can only be done on super control
canNotBeTargetError GEQU $1008 ; conrol cannot be made target
noSuchIDError GEQU $1009 ; specified ID cannot be found
tooFewParmsError GEQU $100A ; not enough params specified
noCtlToBeTargetError GEQU $100B ; NextCtl call, no ctl could be target
noFrontWindowError GEQU $100C ; there is no front window
selectedIcon GEQU $0001
openIcon GEQU $0002
offline GEQU $0004
fListString GEQU $0001
fListSelect GEQU $0002
fListScrollBar GEQU $0004
fRightJustifyResult GEQU $0001
fRightJustifyTitle GEQU $0002
fInWindowOnly GEQU $0004
fDontDrawResult GEQU $0008
fDontDrawTitle GEQU $0010
fDontHiliteTitle GEQU $0020
fType2PopUp GEQU $0040
; offset constants for BarColors
obarOutline GEQU 0
obarNorArrow GEQU 2
obarSelArrow GEQU 4
obarArrowBack GEQU 6
obarNorThumb GEQU 8
obarSelThumb GEQU 10
obarPageRgn GEQU 12
obarInactive GEQU 14
; offset constants for BoxColors
oboxReserved GEQU 0
oboxNor GEQU 2
oboxSel GEQU 4
oboxTitle GEQU 6
; offset constants for BttnColors
obttnOutline GEQU 0
obttnNorBack GEQU 2
obttnSelBack GEQU 4
obttnNorText GEQU 6
obttnSelText GEQU 8
; offset constants for CtlRec
octlNext GEQU 0
octlOwner GEQU 4
octlRect GEQU 8
octlFlag GEQU 16
octlHilite GEQU 17
octlValue GEQU 18
octlProc GEQU 20
octlAction GEQU 24
octlData GEQU 28
octlRefCon GEQU 32
octlColor GEQU 36
octlReserved GEQU 40
octlID GEQU 56
octlMoreFlags GEQU 60
octlVersion GEQU 62
; offset constants for LimitBlk
oboundRect GEQU 0
oslopRect GEQU 8
oaxisParam GEQU 16
odragPatt GEQU 18
; offset constants for RadioColors
oradReserved GEQU 0
oradNor GEQU 2
oradSel GEQU 4
oradTitle GEQU 6
; offset constants for ControlTemplate
opCount GEQU 0
oID GEQU 2
orect GEQU 6
oprocRef GEQU 14
oflag GEQU 18
omoreFlags GEQU 20
orefCon GEQU 22
