试一下keyboard_event函数<br>For Example: <br> keyboard_event( VK_MENU, MapVirtualKey( VK_MENU, 0 ), 0 , 0 ); // 模拟按下Alt <br> keyboard_event( VK_DOWN, MapVirtualKey( VK_DOWN, 0 ), 0 , 0 ); // 模拟按下键 <br> keyboard_event( VK_DOWN, MapVirtualKey( VK_DOWN, 0 ), KEYEVENTF_KEYUP , 0 ); // 模拟松开键 <br> keyboard_event( VK_MENU, MapVirtualKey( VK_MENU, 0 ), KEYEVENTF_KEYUP , 0 ); // 模拟松开Alt