how can i simulate the user clicking/releasing the left mous

Programming, for all ages and all languages.
Post Reply
scarberry

how can i simulate the user clicking/releasing the left mous

Post by scarberry »

how can i simulate the user clicking the left mouse button?

how can i simulate the user releasing the left mouse button?

how can i simulate the user clicking the right mouse button?

how can i simulate the user releasing the right mouse button?

same for middle and the scroll bar on the mouse


all this in a console Applacation in C++.

if u can only answer some/one of these multiple questions then please go aahead and tell me what u know. i looked in google for them but didnt find ne thing but stuff for MFC which im not using MFC. thank you
Tim

Re:how can i simulate the user clicking/releasing the left m

Post by Tim »

Assuming you're on Windows, use SendInput.
Post Reply