How can disable all keyboard shortcuts?

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
asamrith@gmail.com
User
Posts: 91
Joined: Fri Sep 16, 2016 12:03 am

How can disable all keyboard shortcuts?

Post by asamrith@gmail.com »

Will this property IPXV_Control::AllowedShortcuts Property allow me to disable all shortcuts for the current control instance but still allow me to use mouse click on a menu item? For example, I can mouse-right-click on a comment and click delete but on the keyboard, CTR-X will not work or disable. Can you also provide a quick code example in c#?
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: How can disable all keyboard shortcuts?

Post by TrackerSupp-Daniel »

Hello asamrith,
I have moved your topic into the SDK Forums as it was in the incorrect location prior.
I do not know of a method for you, but our Developers monitor these forums, and I'm sure one of them, or one of our many users will be able to help when they look here.
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: How can disable all keyboard shortcuts?

Post by Tracker Supp-Stefan »

Hello asamrith,

I believe you should start here:
https://sdkhelp.pdf-xchange.com/vi ... CmdManager
And handle any command notifications you receive accordingly.

Look at e.g.
GetContextMenuNotifyInfo
and
LockAccels (to lock all keyboard shortcuts - and my colleagues from the dev team tell me this should work for the "mouse right click -> Context menu" as well)


Cheers,
Stefan
asamrith@gmail.com
User
Posts: 91
Joined: Fri Sep 16, 2016 12:03 am

Re: How can disable all keyboard shortcuts?

Post by asamrith@gmail.com »

thank you and will give it a try
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: How can disable all keyboard shortcuts?

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply