Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 6 - Dialog Manager / Dialog Manager Reference
Dialog Manager Routines


Initializing the Dialog Manager

Before using the Dialog Manager, you must initialize--in order--QuickDraw, the
Font Manager, the Window Manager, the Menu Manager, and TextEdit. The first
Dialog Manager routine to call is the InitDialogs procedure, which initializes
the Dialog Manager.

At your application's request, the Dialog Manager uses the system alert sound for signaling the user during various alert stages. For alerts, if you want the Dialog Manager to play sounds other than the system alert sound, write your own sound procedure (described on page 6-137) and call the ErrorSound procedure to make it the current sound procedure.

By default, the Dialog Manager displays static text and editable text items in the system font. To make it easier to localize your application for use with worldwide versions of system software, you should not change the font. However, if you determine that it is imperative for your application to display static text or editable text in a font other than the system font, you can use the SetDialogFont procedure.


Subtopics
InitDialogs
ErrorSound
SetDialogFont

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996