Results 1 to 4 of 4

Thread: How to control mouse speed

  1. #1

    Thread Starter
    Addicted Member Mojtaba's Avatar
    Join Date
    Dec 2020
    Posts
    150

    How to control mouse speed

    Hello friends, I want to slow down the mouse
    For example, I gave the location of the mouse to the text boxes, and after moving the mouse, the numbers are not added one by one, and up to 30 numbers are added.

    HTML Code:
    Option Explicit
    Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Text1.Text = X
    Text2.Text = Y
    End Sub

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,872

    Re: How to control mouse speed

    You mean the x,y values change in large steps?
    In that case you have to divide the x by screen.twipsperpixelx and y by screen.twipsperpixely

  3. #3

    Thread Starter
    Addicted Member Mojtaba's Avatar
    Join Date
    Dec 2020
    Posts
    150

    Re: How to control mouse speed

    Excessive movement distance

  4. #4
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: How to control mouse speed

    Mouse movement speed is set in the mouse driver. Most people would have it set so they do not have to move it far to go anywhere on the screen. I think if it were slowed down to the point of getting the increments of 1 in the move event that it would be extremely difficult to use. For example you may have to move from left to right on the mouse pad then pick up the mouse, love it back to the left side and move across again and again and again just to get the pointer across the screen. I personally like mine to be able to go all the way across the screen in about 1/2 the distance of the pad.

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