I am incorperating a feature similar to that used in the Spy++ application.
I would like to click on a window (not my app) ie notepad, and be able to record the handle information.
I'm pretty sure i need a global mouse hook. If anyone knows how to do this with some pseudo code / tutorial or example
I would be very grateful