Important: The information in this document is obsolete and should not be used for new development.
Application-Defined Routines
If you supply an application-defined item in a dialog box, you must provide a draw procedure for the Dialog Manager to use when displaying the item; that procedure is referred to in this section asMyItem
. If you want the Dialog Manager to play sounds other than the system alert sound, you must provide your own sound procedure, referred to in this section asMyAlertSound
. To supplement the Dialog Manager's ability to handle events in the Macintosh multitasking environment, you should provide an event filter function that the Dialog Manager calls whenever it displays alert boxes and modal dialog boxes. This function is referred to asMyEventFilter
.