CSDN博客

img haiheng

模拟按键

发表于2004/11/3 0:39:00  1064人阅读

 keybd_event( VK_ESCAPE,
                      0x45,
                      KEYEVENTF_EXTENDEDKEY | 0,
                      0 );

      // Simulate a key release
         keybd_event( VK_ESCAPE,
                      0x45,
                      KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
                      0);

阅读全文
0 0

相关文章推荐

img
取 消
img