Geeks With Blogs
Path Notes of a Kodefu Master blog November 2007 Entries
Taking the Ding out of Alt
Grabbing the KeyDown event of a Windows Form is a great way to implement behavior that depends on keyboard input. However, it has this annoying tendecy to "ding" if you use the alt key. Investigating this interesting behavior, I discovered that it occurs before the KeyDown event is raised. Luckily, there is a method that can be overridden to implement the proper code and handle it before it reaches the noisy underbelly of WinForms. The following code snipped illustrates grabbing alt-d. To use it ......

Posted On Tuesday, November 20, 2007 5:06 PM

Copyright © Chris Eargle | Powered by: