-
Nov 22nd, 2021, 12:39 PM
#1
Thread Starter
Addicted Member
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
-
Nov 22nd, 2021, 01:17 PM
#2
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
-
Nov 22nd, 2021, 01:59 PM
#3
Thread Starter
Addicted Member
Re: How to control mouse speed
Excessive movement distance
-
Nov 22nd, 2021, 06:06 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|