Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using LaptopTouchpad to get cursor coordinates. I need to track all the coordinates while the cursor moving and store them in an array for future reference. But i am getting only present coordinates. i thought that to track coordinates, i need to store in an array. while doing that i am getting only present coordinates in all the index position of array.

It would be helpful if someone can give me a sample code that works.
Posted
Comments
sai92 4-Nov-12 1:54am    
No , i need to store this and compare it later. Am doing a project in which the mouse movent event has to be recorded and stored and a new mouse move has to be got from the user and the values of the coordinates compared. So, how do i store entire the mouse coordinates so that i can compare it later with some new coordinates

1 solution

You're probably not going to same code for this.

It's not that hard. You get the current coordinates in the Form MouseMove event and add them to a List(Of Point) collection. Then you change the textboxes to show the coordinates.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900