Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In C# 3.5, We are using a third-party ActiveX control. I want to implement that drag and drop a treenode into third-part ActiveX control. But the DragDrop event is not supported by the System.Windows.Forms.AxHost class. So how to implement dragdrop in C#?
Posted
Updated 28-Aug-11 18:59pm
v2
Comments
BillWoodruff 29-Aug-11 1:47am    
If the 3rd. party control you are using doesn't support drag-and-drop, then I think you are on the "slippery slope" of having to simulate it yourself by dragging some object you've created, and then you've got to detect mouse-moves over the 3rd. party control and simulate some visual response by it indicating a drop is okay. I would forget about this.
milestanley 29-Aug-11 8:23am    
Let me try it. It seems like not bad.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900