Developer Documentation
[Data Types Summary]

PMItemProcPtr


Defines the data type for a function that handles events involving items that your application adds to a Carbon Printing Manager dialog box.
typedef CALLBACK_API( void , PMItemProcPtr )(DialogPtr theDialog, short item);
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 PMItemProcPtr data type. Use the PMSetItemProc function 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.