04-11-2009 05:11 AM
I want to capture a key-pressing from keyboard, at a vi that it's window does not has focus on it. So i can not use the simple event "this vi >> key down".
I know how to do it by polling. But i can not find a way to do it with a callback event.
There are a few posts related, but i can not find the answer.
04-13-2009 12:15 PM
You can't catch the event. Becasuse there isn't one for an non-active window. Only the active window get the event.
If you're a good C programmer, you can create a hook dll, set it to catch keyboard event from any window.
George ZOU
http://www.geocities.com/gzou999
04-13-2009 12:26 PM
04-13-2009 01:09 PM
Thank you.
That clears things up.
I will use polling. It is not so bad at all..
04-13-2009 01:26 PM
04-14-2009 12:13 PM