How to move and click the mouse, using visual c++? I don't need it to go outside the program's own window. I have a browser object, and I need to click inside this.
To move the mouse you should be able to use the SetCursorPos API. As far as 'clicking' the mouse, I would just call the OnClick() of whatever object you need clicked.
HTH.
~Mike
Any man willing to sacrifice liberty for security deserves neither liberty nor security.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.