Hi Tushar,
Thank you for using our discussion forums. Could you please clarify what you mean by "windtools"? I am assuming you are using LabVIEW. If so, you can use an event structure to detect a mouse click and its coordinates. Since the position is relative to the VI, you will need to find the top left corner of the image (using position properties) and subtract.
Using image control, there is another discussion forum where a simple VI is used to do what I believe you are trying to code called "Mouse_Move_in_Image_Simple". http://forums.ni.com/ni/board/message?board.id=200&message.id=3926&requireLogin=False
As for the distance calibration, you will need to code that according to your own system. Basically, you can record the positions into an array and programmatically obtain the distance from there.
If you would like to calibrate distance in pixel to real world measurement units, there is another discussion forum regarding this issue http://forums.ni.com/ni/board/message?board.id=200&message.id=2567&requireLogin=False.
Hopefully this will give you a good start.
Regards,
Vu Doan
Applications Engineer
National Instruments