>You forgot to mention to make sure that the drop target must have the AllowDrop property enabled. I spent a long time wondering why I couldn't drop yesterday :)Yeah, thanks for reminding me ... I obviously had that in my code, but I just forgot to mention it. I'll add it to my notes that I keep for answering such questions. =0)
The PointToClient in your code was very useful as DragDrop's e.X and e.Y are a lot different from MouseUp's e.X and e.Y.Yep. Another useful method if you need to actually *get* the object at that point is the .GetChildAtPoint() method (this would be *where* the Dragged-in control is being dropped, like say you were dropping the actual Text from one TextBox to another ... not applicable in the example we were doing however):
Point xy = this.TargetArea.PointToClient(new Point(e.X, e.Y));
Control ToControl = this.TargetArea.GetChildAtPoint(pt);
But where are you using MouseUp? You're using MouseDown to start the DragDrop aren't you?
~~Bonnie