1. Re[2]: Trapping Keypresses
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Aug 23, 2001
- 415 views
> Have you tried onKeyDown[Screen] ? I'd still like to keep processing for each window separate, so that if a key is pressed in window1 it gets handled by window1's code... Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying >> Hi, >> I'm looking for a way to trap all key presses within a window and it's >> child controls in win32lib, anyone know a good way? I've tried >> onKeyPress but that doesn't work if focus is on a child control of the >> window... >> >> Thomas Parslow (PatRat) ICQ #:26359483
2. Re: Re[2]: Trapping Keypresses
- Posted by George Walters <gwalters at sc.rr.com> Aug 23, 2001
- 427 views
Thomas, As I understand it, you have only one program that oversees all your windows. On your keydown rtn you have to check which window has focus then go to that rtn to do your stuff. ...george ----- Original Message ----- From: "Thomas Parslow (PatRat)" <patrat at rat-software.com> To: "EUforum" <EUforum at topica.com> Subject: Re[2]: Trapping Keypresses > > > > Have you tried onKeyDown[Screen] ? > > I'd still like to keep processing for each window separate, so that if > a key is pressed in window1 it gets handled by window1's code... > > Thomas Parslow (PatRat) ICQ #:26359483 > Rat Software > http://www.rat-software.com/ > Please leave quoted text in place when replying > > >> Hi, > >> I'm looking for a way to trap all key presses within a window and it's > >> child controls in win32lib, anyone know a good way? I've tried > >> onKeyPress but that doesn't work if focus is on a child control of the > >> window... > >> > >> Thomas Parslow (PatRat) ICQ #:26359483 > > > > > > >
3. Re: Re[2]: Trapping Keypresses
- Posted by Kat <gertie at PELL.NET> Aug 24, 2001
- 445 views
On 23 Aug 2001, at 10:35, George Walters wrote: > > Thomas, > > As I understand it, you have only one program that oversees all your > windows. On your keydown rtn you have to check which window has focus then go > to that rtn to do your stuff. Unless we get threads, right? Then each window can have it's own handler code, as a parent, and run more or less independantly, depending on your inter-thread code? Seems like this would mean Eu popup dialog boxes, or user entry boxes, could be treated as objects? Kat > ...george > > ----- Original Message ----- > From: "Thomas Parslow (PatRat)" <patrat at rat-software.com> > To: "EUforum" <EUforum at topica.com> > Sent: Thursday, August 23, 2001 10:22 AM > Subject: Re[2]: Trapping Keypresses > > > > > > > > Have you tried onKeyDown[Screen] ? > > > > I'd still like to keep processing for each window separate, so that if > > a key is pressed in window1 it gets handled by window1's code... > > > > Thomas Parslow (PatRat) ICQ #:26359483 > > Rat Software > > http://www.rat-software.com/ > > Please leave quoted text in place when replying > > > > >> Hi, > > >> I'm looking for a way to trap all key presses within a window and it's > > >> child controls in win32lib, anyone know a good way? I've tried onKeyPress > > >> but that doesn't work if focus is on a child control of the window... > > >> > > >> Thomas Parslow (PatRat) ICQ #:26359483