Dialog Mgr
Code Examples
How to Display a Progress Bar
Dialog Utilities
A User Item in a Dialog
Using the List Manager in a Modal Dialog
Initialize
InitDialogs Initialize before using Dialog Manager functions
Create / Dispose / Lock
GetNewDialog Create a dialog using 'DLOG' resource parameters
NewDialog Create a dialog using program parameters
NewCDialog Create a color dialog using program parameters
CloseDialog Close dialog window and free some related data
DisposDialog Close dialog and release all related memory
CouldAlert Make an alert and related resources unpurgeable
FreeAlert Undo resource locking of CouldAlert
CouldDialog Make a dialog and related resources unpurgeable
FreeDialog Undo resource locking of CouldDialog
Modal Dialogs / Alerts
ModalDialog Begin user interaction in a modal dialog
Alert Draw an alert and process user interaction
CautionAlert Perform Alert, displaying the system 'caution' icon
NoteAlert Perform Alert, displaying the system 'note' icon
StopAlert Perform Alert, displaying the system 'stop' icon
GetAlrtStage Obtain the stage of current Alert
ResetAlrtStage Set stage of current Alert so next occurrance is 0
ErrorSound Set up to use non-standard sounds for alerts
GetStdFilterProc Get a pointer to the Dialog Manager's standard dialog
filter
SetDialogCancelItem Tell Dialog Mgr which item should be default cancel
item
SetDialogDefaultItem Tell Dialog Mgr which item in dialog should be default
item
SetDialogTrackCursor Track and change cursor to I-Beam when over the
edit line
Modeless Dialogs
IsDialogEvent Check if an event belongs to a dialog window
DialogSelect Process one modeless dialog event
Draw
DrawDialog Draw the contents of a dialog box
UpdtDialog Efficient version of DrawDialog
HideDItem Move an item off screen; deactivate [128K ROMs]
ShowDItem Move an off-screen back on screen [128K ROMs]
ParamText Assign text to static item ^n text variables
SetDAFont Set font for Dialog/Alert static and edit text
Items
GetDItem Obtain dialog item type, handle, and rectangle
SetDItem Modify dialog item attributes
FindDItem See which item is at a specified point [128K ROMs]
GetIText Obtain a copy of the text of an editText item
SetIText Specify the text of an editText item and draw it
SelIText Select all or part of the text of editText item
DlgCopy Copy selected text from editText item to TE scrap
DlgCut Cut selected text from current editText item
DlgDelete Delete text selection from current editText item
DlgPaste Copy TextEdit scrap over selected editText item
Item Lists
AppendDITL Append items to dialog item list
CountDITL Count number of items in dialog item list
ShortenDITL Remove items from dialog item list