![]() |
PMPageSetupDialogInit |
||||
Header: | PMApplication.h | Carbon status: | Supported | |
Initializes a custom Page Setup dialog box.
OSStatus PMPageSetupDialogInit ( PMPageFormat pageFormat, PMDialog *newDIalog );
A PMPageFormat object.
On return, a pointer to an initialized PMDialog object, ready for customization by your application. Because the PMPageSetupDialogMain function does not include a parameter for passing this PMDialog object to your dialog initialization callback function, your application should store this pointer in a global variable or as extended data in the PMPageFormat object. See the discussion of the PMPageSetupDialogInitProcPtr callback function for more information.
A result code. A result code. See
PMSessionPageSetupDialogInit is recommended instead of PMPageSetupDialogInit.
Valid after calling PMBegin and creating a page format object.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
The PMPageSetUpDialogInit function replaces the Printing Manager function PrStlInit.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)