Before you vote this down, I'd like to say this now that the methods posted around the net doesn't work for me.
I've tried going to HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys
and changing the Flags to 10
, 26
, 250
, 506
, you name it, and it still doesn't disable it. BTW I'd like to disable both the popup that comes up AND the actual sticky key functionality.
Going to the Ease of Access part through the control panel and disabling there works, and I see the Flags
being changed to 250
at HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys
, but if I enter 250 manually, it doesn't work. Therefore I'm thinking that the sticky keys setting must be saved somewhere else as well.
BTW I'm writing a program to disable sticky keys with registry keys, so I won't be able to use Ease of Access from the control panel.
So why does the registry key change work for other people around the net, and not me? I'm using Windows 7 64bit. Thanks.
Best Answer
I think this article should help you: http://msdn.microsoft.com/en-us/library/windows/desktop/ee416808(v=vs.85).aspx
If you look at the second example, you will see that it basically gives you what you want. You may put the code that's going to be below (Aside from the WinMain method) in a separate file and have your program call it.
Hopefully this helps.