Results 1 to 2 of 2

Thread: global hook monitoring for wm_app message

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    6

    global hook monitoring for wm_app message

    I'm trying to monitor my bluetooth stack for AVRCP messages.
    Using SPY I found the corresponding messages for the buttons, for example:
    Next Track:
    0x00008001 (WM_APP+1)
    WPARAM: 0000004A

    So far, so good, I started reading about hooks. I was able to get the mouse/keyboard hooks to work using:

    hMouseHook = Win32.SetWindowsHookEx( _
    Win32.WH.WH_MOUSE_LL, _
    MouseHookProcedure, _
    thisModulePointer, _
    0)

    However, as I don't much care about the keyboard and the mouse I tried with WM_APP. As you may have guessed, it didn't work!
    So there goes my question: Is there a way to capture flying WM_APP messages?

    PS. Don't ask me how I'm gonna implement this into CF

  2. #2
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: global hook monitoring for wm_app message

    Moeur made a great dll for that. WM is not that different than Desktop so it might just work. If not you need someone with c++ knowledge to edit it a bit.
    VB 2005, Win Xp Pro sp2

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