Re: Focus problem in win32 program
- Posted by DerekParnell (admin) Jul 27, 2010
- 1042 views
JoKeR said...
I'm having a problem with a program I'm working on where I seem to be losing focus on my window...
I think there is a bug in the focus setting logic when it comes to Windows. As a workaround, try using this handler instead ...
setHandler( Screen , w32HKeyPress, routine_id( "keyPressProcessing" ))
This will cause every key press to trigger the handler, regardless of which control has focus.