How to migrate RhinoDropTarget feature

Hi,

I want to migrate an old plugin that was using RhinoDropTarget to drag and drop on a Rhino object.
I see the class does not exist in Rhino 8. I see Rhino.UI.MouseCallback but I don’t see any method triggered when I drop the item I’m dragging.
Also, I was using OnDropOnObject to get the object where I drop my item but I don’t see any similar method.

Thanks in advance!
Jordi

Hi @Jordi_Llonch,

Sorry I missed this. Are you still looking for an answer? What are you wanting to drag and drop on?

Thanks,

– Dale

Hi Dale,

Yes, I’m still looking for this. I want to drag an item from a Forms.ListView and drop it to Rhino object.

Thanks!
Jordi

HI @Jordi_Llonch,

Reference RhinoWindows.dll in your plug-in project. Then inherit from RhinoWindows.Forms.RhinoDropTarget.

– Dale