Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible PDE



>Is it allowable (as in Apple won't break it for us in the future) for a PDE
>to intercept Carbon Event handlers on the Print Dialog's "Print" button so
>that we can do some work before the print dialog goes away -- like present
>UI for getting required values?

I can't speak for Apple, but you shouldn't have to do this. You should have presented all of your UI between the Open and Close calls and synchronized with the job ticket and other panes during the Sync call, and you can do any work that doesn't require a UI during your Terminate call. If you find yourself having to intercept events intended for the Print dialog's Print button, you really should re-think your interface.

Basically, you really can't make any assumptions about what the Print dialog looks like or how it behaves outside the confines of the API. To do otherwise is to pretty much guarantee that you're going to break sometime in the future. I'm sure someone at Apple will tell you the same thing.

-Mike
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >Invisible PDE (From: "Jim O'Connor" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.