Hello,
I'm creating a custom project type system. Code highly inspired by MPF for project. I now want to implement drag/drop feature on IVsHierarchy items.
The problem I'm facing is that the IVsHierarchyDropDataTarget is not called on child nodes. I can see the call to DragEnter when I'm dragging the project node, but for some reason, this interface is not called when dragging childs and descendants of the project node. However, The GetDropInfo method is called on the project node when dragging child items so I guess those items are not complete strangers to the solution explorer IVsUIHierarchyWindow. For the moment, in it I just return a standard IDataObject but still no call to DragOver/DragEnter etc...
I suspect I'm not advising something in the environment of the child nodes, but I really can't see what. If someone has the clear knowledge of how/why/when exactly the environment call this interface on a node I would really appreciate some help please.
Thanks in advance.
PS: I didn't follow the MPF project code at runtime so I may miss something huge here :/