W wuyaobing Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-15 #1 例如:如果按下k键,就好像一般程序下按F10键那样的效果!(使菜单获得 请问在Delphi 1.0下是怎样实现的?最好有一个例子:>
V Victortim Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-15 #3 keybd_event(VK_F10,0,0,0);//模拟按下f10
W wuyaobing Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-15 #4 keybd_event(VK_F10,0,0,0);我试过,但没有;
W wuyaobing Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-16 #5 我试过用PostMessage(handle,wm_keydown,VK_F10,0); PostMessage(handle,wm_keyup,VK_F10,0); 可实现.谢谢各位了!!!