Reading cursor position with a timer
-
I'm using Vb.net. How to make a timer to read mouse cursor position on the form? I know how to use MouseMove event but it won't fire if mouse cursor is still. I would like to have a timer that would constantly report what are the current cordinates of the cursor.
-
I'm using Vb.net. How to make a timer to read mouse cursor position on the form? I know how to use MouseMove event but it won't fire if mouse cursor is still. I would like to have a timer that would constantly report what are the current cordinates of the cursor.
Cursor.Location is, from memory how to find this out. But, I don't get why you'd do this. When the cursor moves, you can store the value or otherwise interact with it. When the cursor isn't moving, the value isn't changing, so why do you need to keep asking for it ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog