We’d like to use escape keydown event to close our project, and come back to our main application page.
But if the diagram has the focus, he handles the event…
I first try to override CommandHandler.CanStop (let it returns always false), but it is not the right solution : in this case, tools not be able to cancel the current action, but diagram still handle the keydown event.
The issue is to let current transaction be cancelled if needed, but if nothing is currently in use (no selection, no drag/drop, no move…) I’d like the diagram let the event for my environment.
Should I override each possible tool keydown ? Or exists a more central solution ?