By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Child Control Location

P: n/a
I need to get the location of a picturebox inside a picturebox. I think I
need to use pointtoclient to get the right point, but I keep getting
negative numbers.

Dim pnt As New Point(e.X, e.Y)
pnt = picCont.PointToScreen(pnt)

picDraw.Location = picCont.PointToClient(pnt)

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.