kiwikid Posted June 29, 2007 Share Posted June 29, 2007 I searched the forums for how to pull the Windows DoubleClick timing and didn't find anything. So after checking out the exports from User32.dll I went on over to Platform SDK. In there I found the call for GetDoubleClickTime. For some this may be of some use for reasons I'd rather not say. Anyways, here is how to retrieve and set the timing for the DoubleClick: Func _GetDoubleClickTime() Local $aDLL = DllCall("user32.dll", "uint", "GetDoubleClickTime") If Not @error Then Return $aDLL[0] EndFunc Func _SetDoubleClickTime($ms) DllCall("user32.dll", "int", "SetDoubleClickTime", "uint", $ms) EndFunc *Timing is in MilliSeconds Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now