Carbon


PMGetItemProc

Header: PMApplication.h Carbon status: Supported

Obtains the event handling callback function for a custom dialog box.

OSStatus PMGetItemProc (
    PMDialog pmDialog, 
    PMItemUPP *itemProc
);
Parameter descriptions
pmDialog

A PMDialog object representing the Page Setup or Print dialog box for which you want to obtain the event handling function.

itemProc

On return, a pointer to the dialog event handling function.

function result

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

SPECIAL CONSIDERATIONS

Valid within the context of a printing session after calling PMSetItemProc to install an event handling function for your custom Page Setup or Print dialog box.

AVAILABILITY

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


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