WindowSpy is a free program which displays window information for any window the mouse is over. For use with the Win32 API.