Carbon


PMGetDialogPtr

Header: PMApplication.h Carbon status: Not Recommended

Obtains the dialog record structure for a dialog box.

OSStatus PMGetDialogPtr (
    PMDialog pmDialog, 
    DialogRef *theDialog
);
Parameter descriptions
pmDialog

The PMDialog object from which you wish to extract the DialogRecord structure.

theDialog

On return, a pointer to a Dialog Manager structure of type DialogRecord.

function result

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

SPECIAL CONSIDERATIONS

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.

AVAILABILITY

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

CARBON NOTES

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)