[Data Types Summary]

PMItemUPP


Defines the data type for a function that handles events involving items that your application adds to a Carbon Printing Manager dialog box.
typedef STACK_UPP_TYPE(PMItemProcPtr)    PMItemUPP;
DISCUSSION
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.


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