![]() |
PMSessionPrintDialogMain |
||||
Header: | PMApplication.h | Carbon status: | Supported | |
Displays your applications custom Print dialog box.
OSStatus PMSessionPrintDialogMain ( PMPrintSession printSession, PMPrintSettings printSettings, PMPageFormat constPageFormat, Boolean *accepted, PMPrintDialogInitUPP myInitProc );
A PMPrintSession object.
A PMPrintSettings object.
A PMPageFormat object.
Returns true if the user clicks the OK button, or false if the user clicks Cancel.
A universal procedure pointer to your dialog initialization function. Your initialization function is defined by the callback PMPrintDialogInitProcPtr.
A result code. A result code. See
The Carbon Printing Manager calls your dialog initialization function before displaying your custom Print dialog box. Your initialization function can append items to the Print dialog box, and should install an event filter using the PMSetModalFilterProc function. You must pass the same PMPageFormat and PMPrintSession objects to both PMSessionPrintDialogMain and PMSessionPrintDialogInit.
Valid within the context of a printing session after calling PMSessionPrintDialogInit.
Supported in Carbon. Available in Carbon 1.1 and later when running Mac OS 8.1 or later.
PMSessionPrintDialogMain is equivalent to the Classic Printing Manager function PrDlgMain.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)