wpf 模拟 Alt + Tab 键按下
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18165342/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Simulating Alt + Tab Key Press
提问by Elmo
I have tried to simulate Alt+ Tabkey press using SendInput, keybd_event, SendMessageand SendKeys.Sendbut none of them work. All other key presses work but only Alt+ Tabdoesn't work.
我试图模仿Alt+Tab使用按键SendInput,keybd_event,SendMessage和SendKeys.Send,但他们没有工作。所有其他按键都有效,但只有Alt+Tab无效。
Can anyone tell me how do I open the Alt+ TabTask Switcher programatically?
谁能告诉我如何以编程方式打开Alt+Tab任务切换器?
采纳答案by davidsbro
Here is a link that looks like it may be helpful and useful: http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/4b6dbc43-a026-4957-9178-91d2001e2d0d/windows-8-block-alttab-simulation
这是一个看起来可能有用且有用的链接:http: //social.msdn.microsoft.com/Forums/windowsdesktop/en-US/4b6dbc43-a026-4957-9178-91d2001e2d0d/windows-8-block- alttab-模拟

