Results 1 to 3 of 3

Thread: detecting mouse being pushed

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    243

    detecting mouse being pushed

    detecting mouse being pushed
    hi all. I am trying when the first mouse button is pushed on the computer then carry out code in my program.

    In this software the project will NOT HAVE FOCUS.

    do you have any code for this?

  2. #2
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775

    MOUSE

    Really dont understand what you want,but if you want to detect when the mouse button has been pressed say on the form then


    Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

    MsgBox ("The left mouse button has been pressed"), vbInformation


    Any good

  3. #3
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

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