Page 1 of 1

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

Posted: Wed Jul 23, 2003 4:24 pm
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

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

Posted: Fri Jul 25, 2003 4:47 am
by Tim
Assuming you're on Windows, use SendInput.