InitDialogs
Use the InitDialogs procedure to initialize the Dialog Manager.
PROCEDURE InitDialogs (resumeProc: ResumeProcPtr);
resumeProc
- A pointer to a procedure used by the System Error Handler in case a fatal system error occurs on a system that predates MultiFinder. For System 7, your application should set this parameter to
NIL.
DESCRIPTION
Before using the Dialog Manager, you must initialize QuickDraw, the Font Manager,
the Window Manager, the Menu Manager, and TextEdit, in that order. Then, to
initialize the Dialog Manager, call InitDialogs once before all other Dialog Manager routines. The InitDialogs procedure does the following initialization:
- It saves the pointer passed in the
resumeProc parameter. For System 7, your application should set the resumeProc parameter to NIL.
- It installs the system alert sound. To change the system alert sound, use the
ErrorSound procedure.
- It passes empty strings to the
ParamText procedure.