Re: Reading a keystroke in a Console app



Check out the ConsoleEx.dll from
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b76d1f08-2d79-47bd-825b-0489938aae0f

Scott


"Brian Schwartz" <brian@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eHELOTO2FHA.700@xxxxxxxxxxxxxxxxxxxxxxx
> I'm writing a console application. Both Read and ReadLine wait for enter
> to
> be pressed before returning. Isn't there a way to read a single character
> and continue immediately, without waiting for enter?
>
>
> --
> Brian Schwartz
> FishNet Components
> http://www.fishnetcomponents.com
> Try the best free grid available anywhere - no strings attached!
>
>
>


.



Relevant Pages

  • Re: Question related to FreeBSD Serial Console...
    ... On 01-Sep-03 Unnamed Administration sources reported Scott Long said: ... >> I have a question related to FreeBSD Serial console, ... >> Scott M. Likens ...
    (freebsd-current)
  • Re: Rudamentary CONSOLE I/O Routines for Windows
    ... "Gary L. Scott" wrote: ... below statement about working with other compilers). ... focused on "console" functions as you can get more sophisticated GUI ... > reduce the Windows API complexity considerably for a small subset of ...
    (comp.lang.fortran)
  • Re: Help me!!
    ... >> I am writing an intepreter for a mathematical language. ... >> console for the interpreter that can be invoked from within the GUI ... But this solution separates input area from output area. ...
    (comp.lang.java.gui)
  • Re: CallBack function is not not working .............
    ... You didn't mention you were writing a console based application. ... significant because you will not have a Windows message pump. ... Particulalry if you are new to TAPI. ...
    (microsoft.public.win32.programmer.tapi)
  • Starting a console application from parameters
    ... I'm writing a Console Application and I would like to start it only if I pass to it a param: ... myapp.exe --> I write usage reference ...
    (microsoft.public.dotnet.languages.vb)