Disable Right Click?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

kwmcrell
User
Posts: 11
Joined: Wed Jul 07, 2010 1:00 pm

Disable Right Click?

Post by kwmcrell »

Is there a way to disable the right click feature. I don't want them to be able to add any extra toolbars and such.

Thank,

Kevin
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Disable Right Click?

Post by Vasyl - PDF-XChange »

Hi, Kevin.

To switch off all context menus:
ax.SetProperty("General.DenyAllContextMenus", "true", 0);
To switch off customizing for all command bars:
ax.SetProperty("View.LockAllBars", "true", 0);
Also look to our SDK Help, [Reference/NamedItems/Object/Notifications/Mouse].
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.