Results 1 to 3 of 3

Thread: [RESOLVED] How to set a mouse hook Globaly

  1. #1

    Thread Starter
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Resolved [RESOLVED] How to set a mouse hook Globaly

    Hi all, I need to set a mouse hook globally in my app. I am using VB.Net. So far I have one problem. The problem is to get the “tread ID” set in “SetWindowsHookEx” app function parameter which in this case should be involved with the desktop or the mouse I think. How can I solve this problem?
    Thanks in advance!

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: How to set a mouse hook Globaly

    set threadID equal to zero and you will have a global hook.

  3. #3

    Thread Starter
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: How to set a mouse hook Globaly

    thank you

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