Say if you had one program running, you could look through all the windows that are running (either minimized or not) using WinAPI's FindWindow() function (http://msdn2.microsoft.com/en-us/library/ms633499.aspx)
You can then check for the windows class name string, or caption string... Since in Blitz+ you cannot define your own class name (Which I requested years ago) and Blitz+'s class name is the same as BlitzMax's, this turns out as a bad idea because you might 'bump' other Blitz apps.
So, your left with searching for a specific caption (Window title text), which isnt so bad, unless you want to pad the caption with other information, like maybe a file path or something.
If the window is there, either focused or not, you'll know about it.
Dabz
You can then check for the windows class name string, or caption string... Since in Blitz+ you cannot define your own class name (Which I requested years ago) and Blitz+'s class name is the same as BlitzMax's, this turns out as a bad idea because you might 'bump' other Blitz apps.
So, your left with searching for a specific caption (Window title text), which isnt so bad, unless you want to pad the caption with other information, like maybe a file path or something.
If the window is there, either focused or not, you'll know about it.
Dabz