userItem
typedef pascal void (*ResumeProcPtr)(void);
typedef pascal void (*SoundProcPtr)(void);
ctrlItem 4
statText 8
editText 16
iconItem 32
picItem 64
itemDisable 128 add to others to disable (dim the text)
btnCtrl 0 added to ctrlItem for specific types of controls
chkCtrl 1
radCtrl 2
resCtrl 3
ok 1 item number for standard buttons (by
convention)
cancel 2
stopIcon 0 Alert icon IDs noteIcon 1
cautionIcon 2
ctnIcon 2
Constants for TextEdit and dialog boxes
TEdoFont 1 set font (family) number
TEdoFace 2 set character style
TEdoSize 4 set type size
TEdoColor 8 set foreground color
TEdoAll 15 set all attributes
TEaddSize 16 adjust type size
Constants for dialog boxes only
doBColor 8192 set the background color
doMode 16384 set txMode
doFontName 32768 set txFont from font name
DITLMethod constants
overlayDITL 0 overlay existing items
appendDITLRight 1 append at right
appendDITLBottom 2 append at bottom
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Name Address Size Description
ANumber 0x0A98 2 resource ID of last alert
DABeeper 0x0A9C 4 address of current sound procedure
DlgFont 0x0AFA 2 font number for alerts and dialogs
DSAlertTab 0x02BA 4 SysError alert information table pointer DSErrCode 0x0AF0 4 ID of last System Error
ResumeProc 0x0A8C 4 addr of resume/restart procedure (InitDialogs)