I have created an MFC application with doc/view support, SDI having editview window.
I want to know what is the position (Co-ordinate) of the cursor every time the position of the cursor is changed.
How to achieve this?
Sorry, but none of the above returns the Co-Ordinates.
I want the coordinates not the index of the cursor.
Is there any function or property which returns the X and Y distance of the cursor from top-left corner of the view window?