Carbon


PMGetDialogDone

Header: PMApplication.h Carbon status: Not Recommended

Reports to application-defined callback functions whether the user has finished with a dialog box.

OSStatus PMGetDialogDone (
    PMDialog pmDialog, 
    Boolean *done
);
Parameter descriptions
pmDialog

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

done

Returns true if the user clicked the OK, Print, or Cancel button; false if the user did not click any of these buttons.

function result

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

SPECIAL CONSIDERATIONS

Valid within the context of a printing session while displaying your Page Setup or Print dialog.

AVAILABILITY

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

CARBON NOTES

PMGetDialogDone gives you access to the information formerly contained in the fDone field of the Printing Manager structure TPrDlg .


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