Disable Right-click Menu on ActiveX

PDF-XChange Viewer SDK
Simple DLL and ActiveX

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

Post Reply
Andy
User
Posts: 15
Joined: Wed Jan 26, 2005 11:36 pm

Disable Right-click Menu on ActiveX

Post by Andy » Mon Aug 04, 2014 6:48 pm

I may be missing something because of the terminology used, but I need to disable the default right-click menu that appears. I am simply creating an internal viewer that I wish to drastically limit as to its functionality. Can someone point me in the right direction.?

Thanks

Andy Morgan

Andy
User
Posts: 15
Joined: Wed Jan 26, 2005 11:36 pm

Re: Disable Right-click Menu on ActiveX

Post by Andy » Mon Aug 04, 2014 8:37 pm

Solved via Newsgroups from Craig: (Thanks)
They're called "Context Menus" in the Viewer SDK.

The command to disable them is:

PXCVAX1:rtn = PXCVAX1.DenyAllContextMenus(TRUE)

Please replace PXCVAX1 with your PXCVAXiewClass Obj Name from the first
field in the template.

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Disable Right-click Menu on ActiveX

Post by Tracker - Clarion Support » Mon Aug 04, 2014 9:48 pm

Hi Andy!

Glad to have helped. :)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply