Results 1 to 4 of 4

Thread: Hooking, Subclass

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Hooking, Subclass

    Ok, Here's my situation
    I have an external program that i want to monitor for the message LVM_SETIEM. Here's how i want to proceed. Hook in to that program and then subclass the listview control to monitor that message. I try to search around the forum to find similiar thread, i found some thread talk about the hooking for WM_CHAR but not really what i want since that window is not a WH_GETMESSAGE i beleive. You help is really appreciate. thanks guy. Oh, i'm using VB6 and for the hooking = C++ dll

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Hooking, Subclass

    Look at these two threads... One by Megatron and one by moeur


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: Hooking, Subclass

    WH_GETMESSAGE hook should work with LVM_SETITEM.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Re: Hooking, Subclass

    i use WH_GETMESSAGE hook and try to catch the LVM_SETITEM. But nothing show. Howver on SPY++. LVM_SETITEM is clearly show when an item is add to the listview

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