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: What event caused my PDE to terminate?



Manish,

The answer is no, we don't set the second argument to tell you whether the user is canceling the print dialog, picking a different printer or printing. In general, regardless the reason Terminate is called, the PDE should dispose its controls and free its global context. If there is a reason you need to do something different, according to the reason Terminate is called, please file a Radar bug report and explain your requirements.

-Paul

On Tuesday, June 17, 2003, at 03:06 AM, Manish shrikant shet wrote:

Hi List,
I am trying to develop my own custom PDE. In the 'terminate'
function of the PDE, I want to find out the reason which caused my PDE to be
terminated. It could be one of the three options below
1)The user pressed cancel button in the print dialog
2)The user selected some other queue in the print dialog
3)The user pressed print button in the print dialog
Actually, the second parameter to my terminate function "OSStatus
status " should have the value which I want but it seems that it has been
reserved for future use. Is there any other way in which I can find this
out?

Manish
_______________________________________________
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.
_______________________________________________
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: 
 >What event caused my PDE to terminate? (From: Manish shrikant shet <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.