Sending specific keys on the Numpad like +, -, / or Enter (simulating a keypress)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am working on a project where it is necessary to simulate key-presses to cause specific behaviours in a different application. All is running well and fine, using the keybd_event function that is being imported (there might be better ways, but it is working fine). Now I want to add specific support for all of the numpad. Looking e. g. here http://msdn.microsoft.com/en-us/library/dd375731(v=VS.85).aspx or in the System.Windows.Input.Key namespace, I can easily find keys for Num0..Num9, as well as for NumLock. But.. I cannot find anything