Okay, just a simple question and a simple procedure:

I use Windows 98 2nd ed. and Visual Basic 6. How to make my application to scan if there can be found a certain window, e.g a window called "notepad". If this window is deteceted (also if it is minimized), how to make my app to change its title? For example "notepad" --> "!NoTEPAD!". So the program runs a loop, which should not reserve all resources of the system. It should check this certain window e.g. every 1 minute.