Posted by Howard Casto on 22, 2001 at 7:46 PM:
In Reply to: Re: Esc and other key woes.... (a possible solution for you guys) posted by Lilwolf on 22, 2001 at 6:56 PM:
im not sure if you understood my post, because i want it to work regardless of focus and i've been able to do so...it's not a problem.... that's not an issue...
the question was
would there be any interest in such a program?
: I don't know about other languages... but...
: Java allows you to register for a focus events. So you can recieve a call when you lose focus... then request it again.
: This works well for me. The trouble can be getting the focus to begin with (since I was playing window / frame games)... but once I had it, I was fine.
: So I have one frame that keeps the focus 100% of the time.
: A trick to get this (I've done for other projects) is to have a transparent model window thats full screen and it captures all the key/mouse events and passes it through to one object.