I think you would have to set up a timer that will detect clicks and
determine if they should be treated as single clicks or double clicks based
on how far apart the clicks occurred. I think this is done by counting
ticks.
I received the code below to get the double-click times for different
systems. I ended up using SystemDoubleClickTime = 8 because, interestingly
enough, it felt more accurate.
SystemDoubleClickTime as Integer is a property that was added to a timer.
#If TargetPPC
Declare Function GetDblTime Lib "CarbonLib" () as Integer
SystemDoubleClickTime = GetDblTime()
#EndIf
#If TargetMacOS
Declare Function GetDblTime Lib "InterfaceLib" () as Integer
SystemDoubleClickTime = GetDblTime()
#EndIf
#If TargetWin32
Declare Function GetDoubleClickTime Lib "User32.DLL" () as Integer
SystemDoubleClickTime = GetDoubleClickTime()
'SystemDoubleClickTime = 8
#EndIf
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>