Hi all,

I am wondering how I can make a virtual invisible grid on an image control.

Example:

I have an image control that is 6000 x 4000, and I want the grid to be say 640x480 but span the whole image control. So if I were to click on the very top left corner of the image in the control, I could get the grid co-ordonates and they would be something like : 632x478.

I hope this is enough to go on, it's a hard question to explain, but that is my attemp. I imagine there would be some sort of API or math function that would let me do this, but I know not of them.

Thanx a million in advance,

Scott