Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop 'n drag (and stay)
Message
From
16/01/2005 00:47:09
 
 
To
14/01/2005 18:30:53
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00977399
Message ID:
00977544
Views:
30
Victor,

I'd like to add to my last post ... While the answer I gave you will work just fine, it's not the best way to do it. I've discovered something better. Every control has a PointToClient() method. Use it like this:
        Dim xy As Point = pnlDrop.PointToClient(New Point(e.X, e.Y))
Isn't that a little cleaner? =)

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform