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: How to turn off the print preview button?



Am 16.11.2004 um 01:48 schrieb Chris Page:

I don't know whether there's an official way, but if the control has a command ID associated with it, you should be able to look it up by ID and disable it in some event handler that runs when the dialog is active.

Doesn't sound particularly official. I don't think I can get hold of the WindowRef of the print dialog, so it would be difficult to disable these button even if I knew the command or control IDs.


I'm curious: Is this for security reasons?

Security isn't quite the right word. A document can wish from the viewer that text shall not be copied for example. Such a wish is lost in the print preview. Preview.app and Adobe Reader disable those buttons for that reason.


BTW, I love your browser PDF plugin. (Is there a reason it can't support the mouse scroll wheel?)

Thanks. Mouse wheel doesn't work because Carbon Events do not work in the Cocoa window of Safari.



Manfred

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >How to turn off the print preview button? (From: Manfred Schubert <email@hidden>)
 >Re: How to turn off the print preview button? (From: Chris Page <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.