I am making an app that simulates a keyboard. I will do it by sending WM_KEYDOWN to a window, but I am not sure where to send the message. to the currently active window or to HWND_BROADCAST?
Here is an other question I posted, related to this one.
http://stackoverflow.com/questions/2089968/if-i-send-a-wmkeydown-message-using-wndproc-will-the-computer-hold-the-key-dow