Carbon


PMSetModalFilterProc

Header: PMApplication.h Carbon status: Not Recommended

Installs an event handling callback function for a modal dialog box.

OSStatus PMSetModalFilterProc (
    PMDialog pmDialog, 
    ModalFilterUPP filterProc
);
Parameter descriptions
pmDialog

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

filterProc

Your event handling function, which will be called while the Page Setup or Print dialog box is displayed.

function result

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

SPECIAL CONSIDERATIONS

Valid within the context of a printing session. You must register your filter procedure before calling PMSessionPageSetupDialogMain or PMSessionPrintDialogMain.

AVAILABILITY

Not recommended 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)