标签:
//模拟ctrl+回车
keybd_event(VK_CONTROL, 0, 0, 0);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_CONTROL, 0, KEYEVENTF_KEYUP, 0);
模拟Shift+End
keybd_event( VK_SHIFT, 0x2A, 0, 0 ); keybd_event( VK_END, 0x4F, KEYEVENTF_EXTENDEDKEY | 0, 0 ); keybd_event( VK_END, 0x4F, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0 ); keybd_event( VK_SHIFT, 0x2A, KEYEVENTF_KEYUP, 0 );
标签:
原文地址:http://www.cnblogs.com/cb168/p/4970111.html