How do I implement a "second mouse pointer" in a C # windows application?
I don't really want it to be a "real" mouse cursor, i.e. no need to click buttons, select text, etc. It should look like a cursor (or something like that) and be able to move around the application window (no need to go outside). It will be controlled by the computer and the user should be able to use the mouse normally during this time.
What's a good way to do something like this? How do I create a float that I can programmatically move around the window?
If it's a WPF application, you can do this: Place a Canvas object on a display. Add the mouse cursor image as a child of the canvas. Set the Canvas.Left and Canvas.Top properties on the image to move it. Set the ZOrder of the image so that it appears above all other controls.
You are not saying how actions should be defined. If it fits the script, then there are ways WPF can handle the motion time for you. Otherwise, you can simply update the position by whatever means you want in response to the timer.
Wait a minute. I just noticed that it was posted ten months ago.
So what did you end up doing? :)
a source to share