|
-
Nov 14th, 2001, 03:18 PM
#1
Thread Starter
New Member
Custom Event?
I'm trying to figure out how to hook to a window's message queue and capture (or be called back by) the LVM_INSERTITEM message. I would like to make this an event (install hook, go on with the app's life, and come back when this is called to this particular app I'm monitoring), but as it is, I'm a hooks newbie and just don't seem to be able to capture ANY messages off this app. Any good tutorials, or has anyone done this before?
-
Nov 14th, 2001, 07:09 PM
#2
Frenzied Member
msdn.microsoft.com
Search for Hook, learn what you can.
-
Nov 14th, 2001, 07:56 PM
#3
If you want to capture the message before it's sent to the window's queue, I would suggest you use WH_CALLWNDPROC, otherwise, use WH_GETMESSAGE to catch it when it enters the queue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|