.Net Keystroke Handling Exposed - “Exploring Secrets of .NET Keystroke Handling”
DevX - Exploring Secrets of .NET Keystroke Handling
“Few areas in .NET are seemingly as simple yet deceptively challenging as processing keyboard inputs. This situation is exacerbated because neither the MSDN documentation nor any of the excellent .NET support websites provide comprehensive, practical details about handling keystrokes. Enter Keystroke Sandbox, a small application developed just for this article. Keystroke Sandbox shows you graphically what happens when you press a single key or a combination of keys. Furthermore, it lets you customize its environment at runtime to emulate a variety of the most common Windows Forms application patterns, including both enabling/disabling controls to receive or ignore input as well as simulating consuming keystrokes at different stages and using different controls.
This article covers the different types of keyboard interaction that an application may have. You'll see how you can simplify debugging by observing which methods get invoked on which controls when you press a key. The article concludes with a practical guide for implementing a variety of common key-handling scenarios.
…”
I thought this was a pretty interesting article and while not code heavy, I thought its 14 printed pages had a very nice conceptual depth.
This is one of those articles I KNOW I’m going to be needing over time…
No comments:
Post a Comment