Link to home
Start Free TrialLog in
Avatar of bleinweb
bleinweb

asked on

Simulating Alt-Tab with API

Hello,

I'm writing a program to interact with a Remote control that plugs into my serial port.  I was wondering if there was anyway to just switch to the next program running like alt-tab does using the API.  I tried using GetWindow() with the GW_HWNDNEXT flag, but I guess it doesn't quite work that way.
ASKER CERTIFIED SOLUTION
Avatar of supunr
supunr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bleinweb
bleinweb

ASKER

Hmm... should have thought of that one.  By the way, to switch to the third program in the queue, use Sendkeys "%({TAB}{TAB})"