Identifying specific windows
Is there a way I can identify specific windows. Like have a global CloseWindow hook, and depending on the window, it performs certain tasks. I was only thinking of checking the WindowTitle and comparing, but I was thinking there was a better way.
the window has a "RefCon" you can put any value you want into.