I am looking for a solution to programmatically hold a keyboard key down during some time (I don't know how many time).
I think that if I send a WM_KEYDOWN message the key will be held down until WM_KEYUP is send, but I am not sure.
I would test it. But I need to go and I don't have much time. I want to see if someone already tested this.
Here is an other question I posted, related to this one.
http://stackoverflow.com/questions/2090058/i-want-to-make-a-virtual-keyboard-do-i-need-to-send-wmkeydown-to-the-current-ac