Is there a way to set up my mouse so a "click" consists of only pressing the button DOWN, instead of waiting for the up click? I tried setting a global mouse hook and using SendInput to send an MOUSEEVENTF_LEFTUP message every time it gets a WM_LBUTTONDOWN message, but it doesn't do what I want.
I need it so I can get faster @ Minesweeper. :3 I always wind up clicking different squares than I mean to, because by the time I lift up on the button, I've moved my mouse somewhere else.
Sounds like you needa some sort of touch screen mit stylus
Name:
Anonymous2010-07-07 6:07
OP here, I figured it out. Automatically generating an upclick within my mouse hook after every downclick wasn't working because it was processing the upclick before I exited my hook to let the system process the downclick. The answer was to kill EVERY user-generated (left button) mouse event and send a down/upclick combo on each downclick.
Code if anyone's interested ('flag' is a global variable):
Isn't there an environment variable that determines the width of the box around the mouse click point where a release won't generate a drag event? This would probably be the more elegant solution.
>>12
U mena delta? Shit like TWM has it in config files. Windows probably has it hardcoded.
Name:
Anonymous2010-07-07 8:09
>>12
Yeah, I found something like that googling, but it still wouldn't register it as a click until the button is released (I assume). I want it to process the click where I press the button down, which is sometimes different from where I release it, since I'm moving the mouse fast and my fingers are slow :/
Name:
Anonymous2010-07-07 9:55
unplug mouse, problem solved.
Name:
Anonymous2010-07-07 12:35
>so I can get faster @ Minesweeper
Cheating bastard.