I want handle the Sup Key when it is pressed and to show a advertencia to confirm if the user wants delete a particular object.
I tried to use the keyboard listener “example command.cs” developed by menno in this thread
But I handle the sup key after rhino deleted the object.
I’ve tried also handle Rhino KeyboardEvent:
RhinoApp.KeyboardEvent += new RhinoApp.KeyboardHookEvent(RhinoApp_KeyboardEvent);
But this event is undhandled when I change the view.
What can I do?
I’m working in c# with visual studio 2010 and RhinoCommon