Search code examples
c#.netwpfvb.netalt-tab

Simulating Alt + Tab Key Press


I have tried to simulate Alt + Tab key press using SendInput, keybd_event, SendMessage and SendKeys.Send but none of them work. All other key presses work but only Alt + Tab doesn't work.

Can anyone tell me how do I open the Alt + Tab Task Switcher programatically?


Solution

  • 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