Simulating Alt + Tab Key Press

12.1k views Asked by At

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?

2

There are 2 answers

1
davidsbro On BEST ANSWER
2
Rahul Tripathi On

You can use SendKeys class and it’s Send method