Results 1 to 3 of 3

Thread: Custom Event?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    Raleigh, NC
    Posts
    1

    Question 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?

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    msdn.microsoft.com

    Search for Hook, learn what you can.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3
    Megatron
    Guest
    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
  •  



Click Here to Expand Forum to Full Width