朋友,搜索一下“模拟按键”肯定出来一大堆,看你也不容易,帮你找出来:<br><br>procedure CtrlEnd;<br>begin<br> keybd_event(VK_Control, MapVirtualKey(VK_Control, 0), 0, 0);<br> keybd_event(VK_End, MapVirtualKey(VK_End, 0), 0, 0);<br> keybd_event(VK_End, MapVirtualKey(VK_End, 0), KEYEVENTF_KEYUP, 0);<br> keybd_event(VK_Control, MapVirtualKey(VK_Control, 0), KEYEVENTF_KEYUP, 0);<br>end;<br>