![]() |
typedef STACK_UPP_TYPE(PMItemProcPtr) PMItemUPP;
If your application adds items to a Carbon Printing Manager dialog box, your application must provide an event-handling function to respond to events involving those items. Such an event-handling function is defined by the PMItemUPP data type. Use the PMSetItemProcfunction to install your event-handling function within your printing loop.
This is how would declare your event-handling function if your were to name it MyItemProc:
void MyItemProc (DialogPtr theDialog, short item);
See the description of the PMItemProcPtr function for information about how to implement this routine.