[Data Types Summary]

PMPrintDialogInitProcPtr


Defines the data type for a function that initializes a custom job dialog box.
typedef CALLBACK_API( void , PMPrintDialogInitProcPtr )(PMPrintSettings printSettings, PMDialog *theDialog);
DISCUSSION
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.



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