R rosoncamping Unregistered / Unconfirmed GUEST, unregistred user! 2001-05-05 #1 一般的按键很容易模拟,就是这三个键很难.<br>用程序模拟,nt 或 win98<br><br>
D doxpix Unregistered / Unconfirmed GUEST, unregistred user! 2001-05-06 #2 三个键以上的模拟用Sendkeys这个函数吧。<br>这个函数在Delphi光盘上的sndkey32.pas文件里。<br>
S senders Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-03 #4 SendMessage(FindWindow(pchar(winHandleStr), nil), WM_KEYDOWN, VK_F6, 0);<br>
I iamfly Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-06 #5 SENDKEY与sendmessage应该不行吧。这三个键是由系统接管的。<br>有个KEYBOARDHOOK可以做到接受这三个键的消息,是lowlevelkeyboardhook,不过DELPHI下<br>我还不知怎么调用这个HOOK,C++下比较容易做到,唉.....
SENDKEY与sendmessage应该不行吧。这三个键是由系统接管的。<br>有个KEYBOARDHOOK可以做到接受这三个键的消息,是lowlevelkeyboardhook,不过DELPHI下<br>我还不知怎么调用这个HOOK,C++下比较容易做到,唉.....