CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Posts
    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.

  2. #2
    Join Date
    Dec 2002
    Posts
    1,050
    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
  •  





Click Here to Expand Forum to Full Width

Featured