Results 1 to 3 of 3

Thread: Detect if Mouse is left Clicked

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110
    How do i detect if left mouse is clicked...
    ngphuocthinh

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516

    Two very different ways...

    You probably know that you can use the MouseDown event and
    set button to 1, or you can use subclassing and trap the
    WM_LMOUSEDOWN (I think that's what it's called) event.

    (If you mean the right button, you would set button to 2 or
    WM_RMOUSEDOWN when subclassing.)

    Hope it helps,

    Me
    Courgettes.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110

    MOuse click

    I mean the mouse is clicked any time, and any where like on the desktop....
    ngphuocthinh

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