![]() |
PMGetDialogPtr |
||||
Header: | PMApplication.h | Carbon status: | Not Recommended | |
Obtains the dialog record structure for a dialog box.
OSStatus PMGetDialogPtr ( PMDialog pmDialog, DialogRef *theDialog );
The PMDialog object from which you wish to extract the DialogRecord structure.
On return, a pointer to a Dialog Manager structure of type DialogRecord.
A result code. A result code. See
Valid within the context of a printing session after calling PMSessionPageSetupDialogInit to initialize a Page Setup dialog box, or calling PMSessionPrintDialogInit to initialize a Print dialog box.
Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
PMGetDialogPtr gives you access to the information formerly contained in the dlg field of the Printing Manager structure TPrDlg .
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)