Hi,
I have an image displayed in a PictureBox and the displayed image is resized
and centred. When I click on the image, I can get the coordinates relative to
the PictureBox but I would like the coordinates to be relative to the image.
I've tried using PointToClient but this gives me wrong values (eg. negative
x). Is there a PictureBox property that I need to change? Or at least a
property which describes the position and size of the displayed image that I
can access from the code?
Thank you in advance
Crest Teethgel - 15 Jun 2007 22:23 GMT
You have nothing to loose.
Try ClientToScreen, ScreenToClient, DPtoLP and LPtoDP
Good day
Crest