I want to hook the WM_MOUSEDOWN and WM_MOUSEUP events from a specific button inside a specific window. I am thinking that SetWindowsHookEx will hook the messages I want. and FindWindowEx will help me find the window handle that I want to trap these events from.
I just don't know how to make it give me the Events from specific window handles. Or how to Determine what handle the message is supposed to be going to.
Anyone else with experience in this I would greatly appreciate some good
EDIT
Alternatively the code to a Spy++ tool in C# or a working copy of ManagedSpy or something similar. I want to learn to navigate the Window Handle Hierarchy and hook windows events from those.