I am trying to generate a mouse click based on x, y position and not using a hwnd. I've tried several examples but none seem to work for me. I'm using VB6. Any ideas?
on 03/06/2010 – Made popular on 03/06/2010
Sometimes when I click something and release it, it will still keep the mouse button pressed. Like when I drag something and release it again, my laptop sometimes just keeps dragging. It wont release until I click again. I have tried without a usb mouse and I still have this problem.Then I disabled the touchpad on my mouse and it still keeps on the mouse click. So it wouldn't be the hardware?
Well, the problem is that my mouse is broken and when I click the left button it generates 2 mouse clicks, so until I buy a new mouse I need to somehow temporarily fix it.
My idea is to set some kind of limit between mouse clicks, that when you click the mouse then you will have to wait let say 0.2sec before you can click it again and every mouse clicks generated before passing those 0.2sec