1. Re: Win32lib key capturing didn't work????
- Posted by C & K L <candk at TICNET.COM>
Jan 06, 1999
-
Last edited Jan 07, 1999
Taking this idea a step further (or backward), can a "windowless"
program be watching keys in the background and either writing them to a
file or triggering another program? The pressed keys will still work
properly in whatever application is running (if any), but my program
will detect it and act on it... possible??
"Cuny, David" wrote:
>
> Ray Smith wrote:
>
> > check out the following sample program ......
>
> Change:
>
> > puts(1, KeyPress)
>
> to:
>
> > repaintWindow( Main ) -- erase the window
> > wPuts( Main, KeyPress ) -- puts(), but in the requested window
>
> Note that if you need to capture *special* keys, you need the
> onKeyUp/onKeyDown routines.
>
> Hope this helps.
>
> -- David Cuny