Detect when user stops using a tool?
Detect when user stops using a tool?
Is there a way to detect when a user stops using a specific tool? For instance, our application automatically enters annotation mode when the user clicks on our "highlighter" toolbar button. We would like to return to Run mode when they finish using the tool. They can do this either through our interface or through yours. If they create a highlight and then right-click the document, it returns to the arrow tool. Is there a way to detect this?
Hello,
You should look at the ActivateObject event.
This event is fired when the user double-clicks on an object, moves the cursor to that object or right-clicks and selects “Activate objectâ€. This event is also fired when an object is dragged on to the document.
The calling application can determine what object was activated by processing this event.
Hope this helps?
You should look at the ActivateObject event.
This event is fired when the user double-clicks on an object, moves the cursor to that object or right-clicks and selects “Activate objectâ€. This event is also fired when an object is dragged on to the document.
The calling application can determine what object was activated by processing this event.
Hope this helps?