switch to app

BlitzMax Forums/BlitzMax Programming/switch to app

Hmm, I don't know if FindWindowA iterates through all possible windows, never tried it like that. If it did ... if two programs have the same name, you must know the current programs hWnd so could compare it against the one returned to see if it's different OR temporarily change your current app's name (just for a millisec) while you check for the other one :-)