Re: How to avoid windows console with stdin

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike Wever wrote:
> 
> don cole wrote:
> > 
> > Hello Mike,
> > 
> > If that's the case try:
> > }}}
<eucode>
> > procedure onKeyPress(integer self ,integer evebt, sequence parms) 
> > --you can put position here
> >   wPuts(Window1,sprintf("%s",parms[1]))
> > end procedure
> > setHandler(Window,w32HKeyPress,routine_id("onKeyPress"))
> > 
> > Don Cole
> 
> That's an interesting solution.  It never occurred to me that the standard
> input might set off a KeyPress.  I'll have to try that.

In my way of thinking there are only two ways to get input, from a file or from
the keyboard. If ther's a third way called Standard input them I'm lost here.

Another thought you might also try w32HKeyDown.

Don Cole
 A Bug is an un-documented feature.
 A Feature is a documented Bug.

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu