How can I simulate the keyboard stroks?

  For example, I want to send Ctrl + C, or F5 to a window.

  I used SendInput, but it didn't work.

  Anyone can give me a stuff about SendInput or and advisement?

Posted on 2005-04-09 09:13:17 by seasea
you can try also the older version of SendInput, its "keybd_event". Works well for me ...
Posted on 2005-04-11 08:16:44 by beaster
You could also send "forged" WM_KEYDOWN or WM_CHAR messages to the target window.
Posted on 2005-04-11 15:41:55 by QvasiModo