![]() |
typedef CALLBACK_API( void , PMPrintDialogInitProcPtr )(PMPrintSettings printSettings, PMDialog *theDialog);
If you need to create a custom print dialog box for your application, you must provide a function that initializes a PMDialog object. Such an initialization function is defined by the PMPrintDialogInitProcPtr data type. You supply this function in a parameter to the PMPrintDialogMain function.
This is how would declare your initialization function if your were to name it MyPageSetUpDialogInitProc:
void MyPageSetUpDialogInitProc( PMPrintSettings printSettings, PMDialog *theDialog)
See the description of the PMPrintDialogInitProcPtr function for a description of how to implement this routine.