|
First, thank you so much for working-on and refining this very useful component.
I found it via a reference on StackOverflow. It seems that there are a number of articles on SO that could benefit from a link to this component.
I've run into an issue, and I've seen a few references to the same (or similar?) on your codeproject page, but I can't seem to figure it out.
I'm hooking the keyboard. I'm looking for a specific key (F10). When F10 is pressed, I do a bunch of stuff [DoStuff();], including opening a modal form. Everything works great, with one issue.
The issue is that there is a delay (a second or two or three) when I call DoStuff();. I believe the delay has something to do with your component.
I've tried moving the keyboard hook to a new thread (using various methods (threading and backgroundworker), but when doing so, the KeyDown event doesn't get fired.
I also tried (temporarily to see if it changed the situation) opening the form regularly (not modal), which didn't help.
Any help would be greatly appreciated.
|