|
-
Oct 13th, 2004, 11:38 AM
#1
Thread Starter
Addicted Member
Mousedown button (without clicking)
I have code that has been working using api to perform a clickbutton (sendmessage) (without actually using mouse to click), but now I switched the code to mousedown (because the button needs to repeat, and I have a timer enabled to repeat the command when mouse down, stop on mouseup). If I add a clickbutton event also, it messes with the mousedown and can send too many (an extra command) commands when the mouse button is released. Soo, how can I simulate a mousedown (and mouseup), so that I don't have to click. This is for a joystick to "click" a button. An alternative idea would be, how do I add a clickbutton event, but dont have it fire when the button is clicked, lol, just have it fire when SendMessage API says to Thanks!
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
|