Отправка нажатия клавиш приложения с помощью «SendMessage» (vb.net)

На данный момент у меня есть все настройки захвата дескрипторов и графический интерфейс. Я не понимаю, как выполнить этот шаг.

У меня есть этот код:

SendMessage(New IntPtr(CurrentHandle), WHAT,GOES,HERE?)

Я смотрел: http://msdn.microsoft.com/en-us/library/ms644950 (VS.85) .aspx а также http://msdn.microsoft.com/en-us/library/ms644927(v=VS.85).aspx#system_defined

However, none of these are giving much of the "code example" method that I need to learn how to do it. I just need to send key events such as pressing "/" or "w", etc. No, I can't use sendkeys for this.

Thanks if you can help!

7
задан Freesnöw 12 April 2011 в 21:31
поделиться