I want to create a left mouse click. All i can find anywhere is having to do if the user clicks, i want to create a left mouse click automatically.
Steve_Jones
0
Newbie Poster
Recommended Answers
Jump to PostSorry, my fault, was old code. Signature should be
static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
Make changes for the unsigned stuff as needed :)
All 4 Replies
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Steve_Jones
commented:
Solves my problem. Hopefully one day ill be able to write that myself.
+1
Steve_Jones
0
Newbie Poster
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Steve_Jones
commented:
Finishes him helping me.
+1
Steve_Jones
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.