Disabling rightclick menu in Reader in browser?

How to use adobe acrobat API method/events to capture function keydown effectively disabling rightclick menu in Reader in browser?
Question: can anyone illustrate how to disable menu right click ? ive seen methods/events in the acrobat api that look to capture the rightclick keydown event but I dont know how to call/implement a function to pull this off.
I read that one might use the notification AVAppRegisterForPageViewRightClicks and do nothing inside the callback procedure to disable entire right click operation inside a Pdf. Sounds good but how?
The AVPageView has methods like AVPageViewKeyDownProc and that's registered using AVAppRegisterForPageViewKeyDown.
I'm getting this from http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/Acrobat_API_Refer ence/AV_Layer/
I found this on "How to Disable right click pop-up menu items" :
http://forums.adobe.com/thread/441260
but I can't follow the posters own resolution which is to "We only need to use the notification AVAppRegisterForPageViewRightClicks and do nothing inside the callback procedure to disable entire right click operation inside a Pdf."
While that sound correct - how would someone implement this? Can anyone show examples ?

Post your question in the forum for Acrobat SDK.

Similar Messages

  • Disable RightClick on PDF in Browser using API methods ?

    How to use adobe acrobat API method/events to capture function keydown effectively disabling rightclick menu in Reader in browser?
    Question: can anyone illustrate how to disable menu right click ? ive seen methods/events in the acrobat api that look to capture the rightclick keydown event but I dont know how to call/implement a function to pull this off.
    I read that one might use the notification AVAppRegisterForPageViewRightClicks and do nothing inside the callback procedure to disable entire right click operation inside a Pdf. Sounds good but how?
    The AVPageView has methods like AVPageViewKeyDownProc and that's registered using AVAppRegisterForPageViewKeyDown.
    I'm getting this from http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/Acrobat _API_Reference/AV_Layer/
    I found this on "How to Disable right click pop-up menu items" :
    http://forums.adobe.com/thread/441260
    but I can't follow the posters own resolution which is to "We only need to use the notification AVAppRegisterForPageViewRightClicks and do nothing inside the callback procedure to disable entire right click operation inside a Pdf."
    While that sound correct - how would someone implement this? Can anyone show examples ?

    Hi Dentaur,
    I actually posted the resolution at http://forums.adobe.com/thread/441260.  However, can't share the source code here as its proprietory for the company I work for.  On a high level I did the following to disable right clicks after opening a Pdf inside Acrobat via a plug-in.
    1.  Register a callback for the Right Click notification during plug-in initialization.
    2.  Simply return true from the callback.
    3.  Destroy the callback during plug-in destruction.

  • HOW TO DISABLE THE SAVEAS OPTION OF A BROWSER?

    Hi all,
    Nice to be back again folks.....
    Well I need to develop an Applet (perhaps even a swing) which when loaded by any browser would disable the SaveAs option of the browser's File menu.
    I tried using the Frame class of java.awt package, the code is:
    import java.awt.*;
    import java.applet.*;
    public class WinAppl extends Applet
    int mc;
    String str="NO OF MENUS: ";
    Font fnt=new Font("Arial",Font.BOLD,12);
    MenuBar mb;
    Frame frame=new Frame("SNODX");
    Window window;
    public void init()
    frame.setBackground(Color.red);
    frame.setForeground(Color.black);
    this.setFont(fnt);
    mb=frame.getMenuBar();
    if(mb!=null)
    mc=mb.getMenuCount();
    str+=mc;
    else
    str+="ZERO";
    public void paint(Graphics g)
    g.drawString(str,50,50);
    but when this applet is loaded ALL the menus of the browser disappear .i.e when this frame applet is loaded by the browser only the title bar of the browser and a red colored window appear, no menus. I dont want all the menus to be hidden, just the SaveAs option of Browser's File Menu to be disabled.
    Thanks in advance.
    True to my nature I am posting this question in some of the other Java forums as well. And as usual sorry for the multiple postings.
    snodx

    Applets usually have absolutely no control over the browser they are running in (with the exception of loading other web pages and other very high level stuff). You won't be able to write an applet that disables entries in the menu bar. And even if you could it wouldn't really help you because most browsers write everything they download to disc (to the cache) where it can be recovered by anybode.
    Last but not least: there are lots of tools for mirroring web sites that will allow users to download and save anything that is accessible for browsers.
    However, you may be able to disable the menu bar and perhaps even change entries in some browsers like ie by activeX controls or javascript. Still this is not a very friendly way for a website to behave...

  • I do not have a "Activate new device" option in the Sync menu on my desktop browser.

    I do not have a "Activate new device" option in the Sync menu on my desktop browser.
    How do I get it to appear?
    When I go to Options - Sync - Manage Account I see:
    View Quota
    Change Password
    My Sync Key
    Reset Sync
    Stop Using This Account

    The "Add a device" link should appear right below the "Manage Account" button. If it is not there, make sure you have the latest version of the Firefox Sync add-on (or the latest version of Firefox 4 Beta).
    Click on the image below for an illustration. For more details, see [[How do I add a device to Firefox Sync?]]

  • PLUGIN: Context(rightclick) Menu

    Hi everybody,
    Can someone guide me in some short steps(where, what to create) how to use this plugin over a query report?
    I saw the documentation at: [http://apex.oracle.com/pls/apex/f?p=1983:17:0::::: ] but still is not so clear for me.
    Thank you,

    Iulian.E wrote:
    Hi everybody,
    Can someone guide me in some short steps(where, what to create) how to use this plugin over a query report?
    I saw the documentation at: [http://apex.oracle.com/pls/apex/f?p=1983:17:0::::: ] but still is not so clear for me.
    Thank you,1. First download the plugin file and unzip it.
    2. Login to your APEX application as developer > Import > Chose PLugin > select the .sql fiel from the unzipped folder from step 1 > and follow the wizard to install it.
    3. Now the plugin is ready to use > go to your report page and create a dynamic action as below
    Event: Page Load
    True Action: Context (rightclick) Menu [Plug-in]
    Jquery Selector: Your report satatic ID table tr +(for example: #tstsql table tr)+
    Javascript Function Name: your test function name +(example myMenuAction)+
    Menu 1: Test1
    Menu 2: Test Menu 2
    Menu 3: ...
    //and here is a sample js function
    function myMenuAction(action, el, pos) {
    if (action=='Refresh') {
      gReport.pull();
    else if (action=='Go') {
      gReport.search('SEARCH');
    else if ($(el).attr('id')=='tst') {
              alert(
              'Action: ' + action + '\n\n' +
              'Element Id: ' + $(el).attr('id') + '\n\n' +
              'X: ' + pos.x + '  Y: ' + pos.y + ' (relative to element)\n\n' +
              'X: ' + pos.docX + '  Y: ' + pos.docY+ ' (relative to document)'
    else {
              alert(
              'Action: ' + action + '\n\n' +
              'Element Id: ' + $(el).attr('id') + '\n\n' +
              'Element Html: ' + $(el).html() + '\n\n' +
              'X: ' + pos.x + '  Y: ' + pos.y + ' (relative to element)\n\n' +
              'X: ' + pos.docX + '  Y: ' + pos.docY+ ' (relative to document)'
    }

  • Why does DW disable insert menu items?

    This must be a configuration option someplace, but in general, why would DW disable Insert menu items?
    I am in .cfm file, in clearly an unlocked area of a page where I should be allowed to insert hyper links, email links, horizontal rules, images, tables.  But on the Insert menu, each of those items is disabled (and others, but you get the point).  Since the insert menu items are disabled, the keystroke shortcuts for those actions don't function.
    I can manually type in these tags, and I can insert them from the Insert window.
    I start a brand new .cfm page, and the insert menu is fine.
    It appears DW is examining the code and deciding [INCORRECTLY] what is appropriate to insert via the menu.
    Thanks for any insight provided.

    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    That's plain HTML, not PHP, and DW doesn't do that - really.
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    DW's javascript solves that problem.
    > I fixed the problem flash image with a workarround code
    for the moment:
    *DON'T DO THAT*
    Leave DW's code alone.
    > To get away from all the javascript and other code that
    could be the
    > problem.
    It is not the problem, most likely - but tell us what the
    problem was.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Magooi" <[email protected]> wrote in
    message
    news:edie10$529$[email protected]..
    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    >
    > Hmm, where do I put the href i Flash?
    >
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    >
    > I fixed the problem flash image with a workarround code
    for the moment:
    >
    >
    quote:
    <object type="application/x-shockwave-flash"
    > data="/images/banners/25000.swf" width="438"
    height="280">
    > <param name="movie"
    value="/images/banners/25000.swf">
    > <param name="quality" value="high">
    > </object>
    >
    > To get away from all the javascript and other code that
    could be the
    > problem.
    > My side is a bit complex with PHP/MySQL and many
    javascripts so I think
    > there
    > was a conflict with my admin system using MySQL or
    something.
    >

  • HT5243 How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? ( I'm not very literate in computer-speak.

    How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? (Obviously I'm not very literate in computer-speak.)

    Well, when you go to a web page a section of the web page will have a coffee cup picture where the java applet will run. The applet loads then runs. If you are not seeing this behavior then you are not using java. If it make you feel more comfortable then disable the browser java plugin. On my machine I have not disable java- but you
    may what to.

  • How Can I Create A Menu contained some sub-menu In The Find/Browser Form

    I need to create an user defined menu in the Find/Browser Form, this menu`s level is same to "File","Row" and it needs to be contained some sub-menu,What I should do?

    Are you using JD Edwards World or EnterpriseOne?

  • Now Private Browsing is NOT available on my Tools Menu--only Stop Private Browsing appears and it's grayed-out=NOT available; so why is that so=Why isn't Private Browsing available = can't I use it any longer?

    Now Private Browsing is NOT available on my Tools Menu--only Stop Private Browsing appears and it's grayed-out=NOT available; so why is that so=Why isn't Private Browsing available = can't I use it any longer

    I just followed your directions about the Options window Privacy panel change to
    "remember history". AND IT WORKED!. Thank you. === George ===

  • Unable to follow links in pdf document which use asynchronous pluggable protocol on Windows unless we disable extended security completely (Reader 11.0.7) - is there any other way round this?

    We have a pdf document which contains links of the format appname://some/path.
    This is using Windows Asynchronous Pluggable Protocols which we have defined in the registry so these links should launch the application with the path as an argument.
    If we disable enhanced security in Reader 11.0.7 then this works - otherwise it just fails to do anything.
    With enhanced security on, we get warning and select trust this site for all pdfs.
    Adobe then stores the first part of the path i.e. for appname://some/path it will store path in [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\TrustManager\cDefaultLaunchURLPerms].
    Don't get warning after that but the application still doesn't launch if enhanced security is enabled.

    Apologies was mislead - it's not enhanced security which is causing the issue, it is protected mode.

  • Is it possible to import an XDP into Reader at Browser loadtime?

    Is it possible to import an XDP into Reader at Browser loadtime?
    Similar to loading an FDF on loadtime?
    Or is there some code that I can put into Livecycle that will load a XDP from a web address once the PDF is loaded into Reader (Reader or Browser Plug-in version)?

    An XDP cannot be read by Reader ...the XDP gets turned into a PDF (called rendering before Reader will open it). LiveCycle Forms will turn the XDP into a PDF in real time and will deliver it to the browser which will in turn luanch Reader and load the newly created PDF.
    Make sense?

  • Disable Refresh menu option on Page Title Bar

    Hi,
    We have a TLN node that opens an iview in a new window. Therefore nothing is displayed in the portal page. However the Page Title Bar menu still has all the options (Open in New Window, Refresh, Details etc.) and if a user selects Refresh, it throws a portal runtime error (iView not found: .default). How can I disable the menu options for this iview? I have tried setting the Show Refresh etc. parameters to No but it didn't work - I assume because the iview isn't being opened in the portal page.
    Many thanks
    Jane

    hi
    the iview you need to explore is page title bar i view in default framework page available in  portal standard user  directory in portal content.In this context i would like to suggest a solution why don,t you creat a default framework page just copy it in your folder  and open it and disable all checkboxes associated to page title bar and save after that go on to create a deskttop in portal display in system configuration and add your framework page and theme from themes in portal content and then add a rule to the main rule in super administrators  folder which will for role of the user will display onle that desktop.i have illustrated the concept of branding if you want to avoid codeing or command groups which is long approach.hope this helps youplease do not forget to give points
    with regards
    subrato kundu

  • Disabling the menu item

    Hi there,
    I am very new to enhancements.
    In the transaction VL02N I want the disable the menu item delete, pls tell me how to do it.
    waiting for your reply
    Thanx in advance,
    Regards,
    Parvez.

    Hi,
    you need to have a userexit for this one, so that you can write the code to Disable the menu items, so first find the user exit for this,
    below link will have a program, copy and paste it and exeute it, it will ask the t-code, it will give the user exits for that t-code, http://www.erpgenie.com/abap/code/abap26.htm
    so see which one is useful for you. after finding the user exit you need to write the code in that to exclude the menu items
    Use excluding option when you call the PF status from your program, to do that declare an internal table and populate the internal table with the fields that have to exclude from the menu and call the PF status using the syntax given below,
    data: itab type table of sy-ucomm.
    append 'DELE' to itab.
    append 'PICK' to itab
    set pf-status 'AAA' excluding itab.
    Regards
    Sudheer

  • 41810-error creating the menu,cannot read the file

    While creating the menu i am getting the following error
    "41810-error creating the menu,cannot read the file".PLease help to rectify this error.

    It is probably attached to the Forms module (see the library node in the navigator window).
    In a general way, try to know where are youe design modules (*.pll, *.mmb, *.fmb), look at the FORMS_PATH variable to see what directories are part of this environment variable, compile every design time module to get the executable versions *.plx, *.mmx and *.fmx, then put these executable files in one of the directories pointed by the FORMS_PATH variable.
    Francois

  • Converting a non-read only menu to read only.

    Hi I am looking for a way that I can take a menu in EBs and then convert that menu to read only, this process should also include all of the functions and the submenus.
    Thanks
    Dave

    Pl post details of OS, database and EBS versions.
    Menus cannot be made READ_ONLY - this attribute applies only to functions. You will have to build a custom menu with custom functions that are READ_ONLY, then assign the custom menu to a custom responsibility.
    R12: How To create read only responsibility (Doc ID 1290228.1)
    HTH
    Srini

Maybe you are looking for