![]() |
PMPrintDialogMain |
||||
Header: | PMApplication.h | Carbon status: | Supported | |
Displays your applications custom Print dialog box.
OSStatus PMPrintDialogMain ( PMPrintSettings printSettings, PMPageFormat constPageFormat, Boolean *accepted, PMPrintDialogInitUPP myInitProc );
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
PMSessionPrintDialogMain is recommended instead of PMPrintDialogMain.
Valid after calling PMBegin and creating a page format and print settings object.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
The PMPrintDialogMain function replaces the Dialog Manager function PrDlgMain.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)