double click speed in C#
Is it possible to retrieve the current double-click time setting in C#? It's simple enough to 'fake it' but I thought it'd be nice to match the users selected speed in a game tool that I'm making.
Is there a registry value that can be simply accessed?
FYI - I'm programming in XNA 3.0 and C#.
Thanks (in advance)
Xy
Nevermind - I'm a dork. Of course it'd be in the registry...
@ "HKEY_CURRENT_USER\Control Panel\Mouse\"
contains all the variables I need.
Xy
@ "HKEY_CURRENT_USER\Control Panel\Mouse\"
contains all the variables I need.
Xy
Use SystemInformation.DoubleClickTime. Don't go through the registry to get this sort of information - that's digging into the implementation details. Instead, use the documented functions specifically for doing what you want.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement