simulating mouse input

  • Thread starter Thread starter perlen
  • Start date Start date
P

perlen

I'm trying to write a program that simulates mouse input.
I want to be able to send mouseclick- and mousemove -
messages to other applications. I tried it using the
Journalplayback-Hook, but it didn't work properly because
it hung itself up. the other thing why that doesnt work
for mi is because i want to get input from a webcam and
calculate the mouseposition from this data and then send
it to the system.

has anyone an idea how this could be done?

thank you very much for helping me!
 
perlen said:
I'm trying to write a program that simulates mouse input.
I want to be able to send mouseclick- and mousemove -
messages to other applications.

On the MSDN-CD or at http://msdn.microsoft.com search for mouse_event() or
SendInput(). The latter is to be used on more recent platforms. Rread the
caveats in the docs.

Regards,
Will
 
Back
Top