1. How to check for Keystrokes within a Loop
- Posted by don cole <doncole at pacbell.net> Apr 10, 2005
- 426 views
How do I check for Keystrokes inside a loop. In windows. (I know how in DOS).
for x=1 to 1000 do aWholeBunchOfStuff() --check for keysroke here end for
I know this probably a stupid question but I would appreciate any help. don cole SF
2. Re: How to check for Keystrokes within a Loop
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Apr 10, 2005
- 427 views
don cole wrote: > > How do I check for Keystrokes inside a loop. > In windows. (I know how in DOS). > > }}} <eucode> > for x=1 to 1000 do > aWholeBunchOfStuff() > --check for keysroke here > end for > </eucode> {{{ > > I know this probably a stupid question but I would appreciate any help. > > don cole > SF > I'd create a w32HKeyDown (etc) event and execute doEvents(0) regularly. Regards, Alexander Toresson