Developer Documentation
[Data Types Summary]

PMPageSetUpDialogInitProcPtr


Defines the data type for a function that initializes a custom page setup dialog box.
typedef CALLBACK_API( void , PMPageSetUpDialogInitProcPtr )(PMPageFormat pageFormat, PMDialog *theDialog);
DISCUSSION
If you need to create a custom page setup dialog box for your application, you must provide a function that initializes a PMDialog object. Such an initialization function is defined by the PMPageSetUpDialogInitProcPtr data type. Use the PMPageSetUpDialogMain function to install your initialization function in your printing loop.

This is how would declare your initialization function if your were to name it MyPageSetUpDialogInitProc:

void MyPageSetUpDialogInitProc (PMPageFormat pageFormat, PMDialog *theDialog);

See the description of the PMPageSetUpDialogInitProcPtr function for a description of how to implement this routine.



Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.