How can determine which kind of object was dropped on the map
Discussion Open
In my add-in, I want to use hyperlinks. If I copy Objects from our application and paste them into a topic, a hyperlink is created.
Dropping Objects should do the same. The Problem is I can not determine the object that was dropped. Am I missing something or do I make something wrong?
I have an event declared
This event is initialized as follows.
After debugging the event fire method
psource is from Type document and pExtra is from type Int. But with both of these information, i can not get the dropped object.
Since it is the "after" event, I would assume that the drop action has already been completed, although I might be wrong about that. (If it was the "before" event then maybe there is information about the dragged object and the opportunity to handle the drop event and cancel MindManager's handling).
If the object has already been dropped, one way to identify it would be to use the before and after topic modified events, and work out what has changed. It could be a marker, a link, an image, topic notes, an attachment, subtopics and maybe more.
Since it is the "after" event, I would assume that the drop action has already been completed, although I might be wrong about that. (If it was the "before" event then maybe there is information about the dragged object and the opportunity to handle the drop event and cancel MindManager's handling).
If the object has already been dropped, one way to identify it would be to use the before and after topic modified events, and work out what has changed. It could be a marker, a link, an image, topic notes, an attachment, subtopics and maybe more.
---