when I lose the focus
Posted on 1998-03-17
I have an small aplication in Visual Basic that shows a window. This window is set to hide (or invisible) when a concrete key is pressed. Then, when another key is pressed, this window appears again. This program runs well while it has the focus. But if any user press ALT+TAB, or run another program, I lose the focus, and my program not catch the keyboard events. How can I catch the keys pressed if another program is taking now the processor? Thanks.