|
-
February 10th, 2003, 06:58 PM
#1
windows registry and winapi
I just wrote some Java to JNI to C++ code to get and set values of the windows registry under the root Win32RegKey.HKEY_CURRENT_USER and path "Control Panel\\Mouse". I can change the DoubleClickSpeed, SwapMouseButtons, and MouseSensitivity registry values but they don't take effect on the mouse.
Is there a winapi call that provides this functionality?
Any help would be greatly appreciated. Thanks.
-
February 10th, 2003, 11:02 PM
#2
check out SystemParametersInfo() in the MSDN
Some of the constants to notice:
SPI_SETMOUSEBUTTONSWAP
SPI_SETMOUSESPEED
SPI_SETDOUBLECLICKTIME
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
|