|
-
Jan 29th, 2006, 04:55 PM
#1
Thread Starter
Lively Member
Timer Speed Up
I'm current using a timer with an interval of 1000ms.
This timer is created and disposed many times throughout the life of the program via the capture of Alt and C buttons respectively. I dont know if this has any relevance but im using global hooks to start/stop the timer when the form isnt in focus to capture those key down events (for some reason Alt doesnt raise a key press, only a key down.)
After a few creations/disposes it seems the timer interval drastically reduces and approaches 1ms.
i've tried resetting the interval time everytime i create the instance of the timer but that doesnt seem to work.
the timer tick is firing a mouse_event of left button down then after another tick, mouse_vent of left button up.
I've also setup a way to check the interval value and the object always reports it to be 1000ms..which is impossible as i can see the mouse selecting and double clicking anything it comes into contact with. (which should be impossible since i've used the SetDoubleClickTime(1))
any help would be greatly appreciated
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
|