How to use CRhinoDropTarget


i currently want to implement some drag n’ drop features in my plugin. In detail i want to drag something from my panel to a 3D geometry in the 3d view.
But i just have no idea how to deal with the CRhinoDropTarget The hint to have a look at the MFC COleDropTarget class does not give me an idea, because in MFC i have to call the “Register” method of the COleDropTarget class which does not exist in CRhinoDropTarget.
Do you have any example how to implement basic drag n’ drop in Rhino?


Funny, after i posted the question, i found out how to do it.
i just had to derive the CRhinoDropTarget class, overwrite some methods -> done :boom:!
Thanks for your help :wink::love_you_gesture:

1 Like