![]() |
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 );
A PMDialog object representing the Page Setup or Print dialog box for which you want to install an event handling function.
Your event handling function, which will be called while the Page Setup or Print dialog box is displayed.
A result code. A result code. See
Valid within the context of a printing session. You must register your filter procedure before calling PMSessionPageSetupDialogMain or PMSessionPrintDialogMain.
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)