Carbon


PMSetItemProc

Header: PMApplication.h Carbon status: Not Recommended

Installs an event handling callback function for items in a custom dialog box.

OSStatus PMSetItemProc (
    PMDialog pmDialog, 
    PMItemUPP itemProc
);
Parameter descriptions
pmDialog

A PMDialog object representing your custom Page Setup or Print dialog box.

itemProc

A universal procedure pointer to your dialog item event handling function. Your event handling function is defined by the callback PMItemProcPtr.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session after creating a custom Page Setup or Print dialog box.

AVAILABILITY

Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

CARBON NOTES

The PMSetItemProc function allows you to set the pointer previously contained in the pItemProc field of the Printing Manager function TPrDlg.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)