PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

Moderators: Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

 
sarahah
User
Topic Author
Posts: 1
Joined: Wed Sep 06, 2017 10:24 am

How to Disable right click in pdf viewer in vb.net (Windows Application)

Thu Sep 14, 2017 6:55 am

Hi
How to Disable right click operation in pdf file in vb.net (Windows Application)
I am using AxInterop.PDFXCviewAxLib and Interop.PDFXCviewAxLib referances.
And i am call that pdf file like:

Call PDFx.SetDevInfo("sssss-sssss-sssss-sssss-sssss-sssss", "sssss$sssss$sssss#")
PDFx.OpenDocument(Application.StartupPath & "\Application.pdf")
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: How to Disable right click in pdf viewer in vb.net (Windows Application)

Thu Sep 14, 2017 9:31 am

Hello Sarahah,

Thanks for the e-mail and enquiry.
Please take a look here:
viewtopic.php?f=36&t=27278&p=105842&hilit=right+click#p105803
This should help you with capturing the mouse events and then handling the context menu (by not showing it).

Regards,
Stefan

Who is online

Users browsing this forum: No registered users and 2 guests