Over Riding Print Function in Cocoa PDE Plugin

2009-08-18 Thread Siva Manne
Is it possible to overriding the print function in Cocoa PDE Plugin ?. I need to do execute some piece of code before printing. In Cocoa PDE Plugin In the sample PDEPlugin code given by apple i found that when i launch the print dialogue and if i select print the only function gets called is deallo

How can I get the reference to Cancel and Print buttons in Print Dialogue

2009-08-09 Thread Siva Manne
In the Cocoa PDEPlugin, i need to disable/enable Cancel and Print Buttons for some conditions. I am not able to get the reference for those buttons. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co