API Spy

Not only can this program spy on window handles, classes, and captions, but it also can send messages and search for windows. When you send messages, it even generates code that, when compiled in VB, replicates the process!