禁用ActiveX pdf控件中的右键单击上下文菜单 [英] Disable Right click context menu in ActiveX pdf controll

查看:141
本文介绍了禁用ActiveX pdf控件中的右键单击上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Adobe Acrobat reader的ActiveX控件中隐藏或禁用右键单击上下文菜单。我在Windows窗体上使用此控件来显示一些记录,我不希望用户进行打印或保存文档。我已经使用参数禁用了工具栏,但我没有为上下文菜单找到一个。



有人能建议我一个解决方案吗?如果有任何其他控制可用于此senerio,那对我也没关系??



谢谢

is it possible to hide or disable the right click context menu from the ActiveX controll of Adobe Acrobat reader. i am using this controll on windows form to display some records and i dont want the user to take print or save the document. i have disabled the toolbar using arguments but i didnt find one for context menu.

can anyone suggest me a solution?? if any other controll available for this senerio, thats also fine with me ??

thanks

推荐答案

我建议你重新考虑你的方法或心态。试图禁止用户利用他在屏幕上看到的东西是注定要失败的。难道你还没有绕过一些试图阻止你保存图像的网站机制吗?即使您以某种方式成功禁用了上下文菜单,您也无法阻止用户截取屏幕截图。它会对您的应用程序的用户体验产生负面影响,他们会寻找替代方案。如果您的记录数据是敏感的,为什么要首先显示它?
I suggest you reconsider either your approach or your mindset. Trying to disallow the user to utilize something he can see on his screen is doomed to fail. Haven't you too already circumvented some website mechanics trying to hinder you from saving an image? Even if you somehow succeed in disabling the context menu, you won't be able to hinder the user from taking a screenshot. It will negatively impact the user experience with your application and they will look for alternatives. And if the data of your records is that sensitive, why show it in the first place?


通过将编辑和打印密码设置设置为pdf文件本身来解决...

https:// www .wpi.edu / Academics / ATC / Collaboratory / HowTo / AcrobatX / printing.html [ ^ ]
Solved by setting Edit and print password settings to the pdf file itself...
https://www.wpi.edu/Academics/ATC/Collaboratory/HowTo/AcrobatX/printing.html[^]


这篇关于禁用ActiveX pdf控件中的右键单击上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆