Custom Dialog Functions
A dialog hook function handles user selections in a dialog box. A custom dialog function lets you support the template in the custom dialog template that you specified with theCustomGetFilePreviewroutine. This function corresponds to the File Manager'sCustomGetFileroutine. See Inside Macintosh: Files for a complete description of theCustomGetFileroutine.You specify your dialog function in the
dlgHookparameter ofCustomGetFilePreview. You can use this parameter to support a custom dialog box function you have supplied by specifying a dialog template resource in your resource file. You specify the dialog template's resource ID with thedlgIDparameter. If you are not supplying a custom dialog function, set this parameter tonil. For more information about using custom dialog functions with theCustomGetFileroutine, see Inside Macintosh: Files.
Subtopics
- MyDlgHook