I’d like to create a function in my application in Visual basic 2010 that would:
- Simulate a left-mouse button click+hold and drag with a timer tick event
- Set a new XY coordinates for the mouse to drag the item to a new location
- Remove the left-mouse button click+hold command
How do I go about for this function?
I think this is what you are looking for
It’s a little bit long to post here so I’ve created a simple project.
Sample Program Here
Full Source Here