Hi,
I'm trying to write a program for Windows that will control the mouse with the keyboard, but I'm not sure I understand how Windows works.
My theory is that I will need to send mouse event messages for the mouse and hook the messages from the keys that are used to control the mouse. And I thought that I was going to need to send those messages to the in-focus window via a handle, but there isn't a handle parameter in the message sending function...
So, the question is, "Do I send the messages with no destination?" and "Does the OS grab messages and route them itself?"
Can anyone tell me how that works?
Thanks,
Shawn