Thanks for the reply of my last question.
I need to do a mouse move simulation: the mouse doesn't physically move but on screen the mouse cursor is moving, like some demoes are doing.
My thinking is to get the current mouse cursor position and increment it to the right end of the screen and loop back again.(don't know if this is the right way to implement it). The problem is I don't know how to get the mouse cursor position since I think it will involve the mouseclick event. On the other hand, if i need mouseclick to do that, that means I need to physically touch the mouse, then the program is nonsense.
Any idea or samples on how to do that are appreciated.
I need to do a mouse move simulation: the mouse doesn't physically move but on screen the mouse cursor is moving, like some demoes are doing.
My thinking is to get the current mouse cursor position and increment it to the right end of the screen and loop back again.(don't know if this is the right way to implement it). The problem is I don't know how to get the mouse cursor position since I think it will involve the mouseclick event. On the other hand, if i need mouseclick to do that, that means I need to physically touch the mouse, then the program is nonsense.
Any idea or samples on how to do that are appreciated.