Results 1 to 3 of 3

Thread: Detect mouse movement anywhere. [resolved]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    Lightbulb Detect mouse movement anywhere. [resolved]

    I'm looking for an API that reacts on mouse movement, even
    when the mouse is not on my form.
    It would be best if it could activate a sub whenever the mouse
    moves.

    Searching in MSDN I found mouse_event, which seemed the
    perfect solution, but the API has been superseded in Win 2000
    and up. Instead I should use SendInput. When I do a
    search, the most relevant page is this one, but I wouldn't
    have a clue on how to integrate this API into VB...


    Does anyone of you know the syntax of SendInput?
    - or -
    If this isn't the right API after all, what I should use?

    Thanks a lot,
    arsmakman.
    Last edited by arsmakman; Apr 29th, 2004 at 03:40 AM.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

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