I was coding a simple program and need little advice here ...

How can I send another application "key_down" message for 5 seconds...

For example, send another application a message that space bar is pressed for 5 seconds...
Posted on 2003-02-02 08:06:29 by Gandalf
You could do a search for the Window Handle, or perhaps you have it already.

Once you've got that then PostMessage will work.
Posted on 2003-02-02 11:33:34 by Eóin
Gandalf,

You can check this example:

http://www.asmcommunity.net/board/showthread.php?s=&goto=lastpost&threadid=8243

Regards,

Vortex
Posted on 2003-02-06 10:24:32 by Vortex
Thanx :alright:
Posted on 2003-02-06 14:25:57 by Gandalf