Delete key works on stamp palette

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
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Delete key works on stamp palette

Post by lidds »

I have removed the delete and rename stamp buttons from the stamp palette so that certain users can not modified them. However if I press the "Del" button on my keyboard it still allows me to delete the stamp this way, I am not sure if Rename still works in this manner as well.
deleteStamp.png
What I want to do is stop any modification to the stamps using keyboard shortcuts, how could I do this?

Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Delete key works on stamp palette

Post by Sasha - Tracker Dev Team »

Hello Simon,

What you need is a custom event listener for the Stamp Palette Object and intercept the KeyDown there with VK_DELETE code.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply