Carbon


PMGetModalFilterProc

Header: PMApplication.h Carbon status: Supported

Obtains the event handling callback function for a modal dialog box.

OSStatus PMGetModalFilterProc (
    PMDialog pmDialog, 
    ModalFilterUPP *filterProc
);
Parameter descriptions
pmDialog

A PMDialog object representing the Page Setup or Print dialog box for which you want to obtain the event handling function.

filterProc

On return, a pointer to the dialog event handling function.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session after installing an event handling function for your Page Setup or Print dialog box using the PMSetModalFilterProc function.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)