![]() |
PMSetDialogAccepted |
||||
Header: | PMApplication.h | Carbon status: | Not Recommended | |
Informs the Carbon Printing Manager that the user confirmed a custom dialog box.
OSStatus PMSetDialogAccepted ( PMDialog pmDialog, Boolean process );
A PMDialog object representing your customized Page Setup or Print dialog box.
Pass true if the user confirms the dialog box. In the case of the Page Setup dialog box, this means the user clicked the OK button; in the case of the Print dialog box, this means the user clicked the Print button. Pass false if the user clicks the Cancel button.
A result code. A result code. See
Valid within the context of a printing session while displaying your Page Setup or Print dialog box.
Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
The PMSetDialogAccepted lets you set information formerly contained in the fDoIt field of the Printing Manager structure TPrDlg .
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)