Results 1 to 2 of 2

Thread: !Help On detecting mouse click's!

  1. #1

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Exclamation !Help On detecting mouse click's!

    Hi I was wondering what API would be used to detect Mouse click's like I want it to give me a message box if the left or right buttons clicked. And I want it to work off my forms window. What I need this for is remote desktop that I’m creating but I can’t seem to find the API I need in an API Program that I got from AllApi website.

    I Have Api2004 for the constants and types. I’m working with visual basic's 6 studio and no MSDN. So what could i use to detect mouse left and right clicks??

    P.S Thanks for your time and hope you could answer my question
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

  2. #2
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: !Help On detecting mouse click's!

    Use the GetAsyncKeyState API

    Code:
    http://www.allapi.net/apilist/GetAsyncKeyState.shtml
    1 = Left Click
    2 = Right Click


    Msn Messenger is the Best

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