comp.lang.ada
 help / color / mirror / Atom feed
From: fluffy_doo@dsuper.net
Subject: Re: key strokes intercept
Date: 1999/04/01
Date: 1999-04-01T00:00:00+00:00	[thread overview]
Message-ID: <3705227f.749682976@news.dsuper.net> (raw)
In-Reply-To: usoaligky.fsf@gsfc.nasa.gov

On 31 Mar 1999 14:50:37 -0500, Stephen Leake
<Stephen.Leake@gsfc.nasa.gov> wrote:

>KeyDown, KeyUp, KeyCode etc are Windows events. Visual Basic provides
>a nice framework for handling events nicely. Plain Ada does not; you
>need a thick binding to Windows to get that. I'm writing one called
>Windex; after you learn some more about Ada, you could try it. See my
>web page:
>
>http://www.erols.com/leakstan/Stephe/index.html

So right now there's no way to do what I want if I'm writing a DOS
program ?  I have maybe two weeks to get it into my program if I
decide that I want to try.  I'd use it as part of a password input
procedure, you know the asterix replacing whatever is typed in at the
keyboard.  Someone in this thread mentioned the text_IO.get_immediate
function, and I thought maybe I could try to use it and replace the
key code (or whatever I`ll have to play with) with the backspace
followed by the asterix, if I can't actually turn off the screen ECHO.

>The version there now does not provide access to the Key events, but I
>just added that over the weekend, so check back soon (I'll announce
>here when I release a new version). In the meantime, it will give you
>a taste of what you are in for; don't be too scared, it gets easier
>after you learn more. Look at the example Mandelplot application, not
>the Windex code itself. It has handlers for mouse events; key events
>will work similarly.

Thanks for this and all the rest.  I'll go visit your site.

Marc
--
What I really am is "fluffy", no "_dong",
no "_puff", no "_woo", no  nothing, just plain fluffy.






  reply	other threads:[~1999-04-01  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-30  0:00 key strokes intercept fluffy_puff
1999-03-30  0:00 ` David C. Hoos, Sr.
1999-03-31  0:00   ` fluffy_bud
1999-04-01  0:00     ` Aidan Skinner
1999-03-30  0:00 ` Matthew Heaney
1999-03-30  0:00   ` Magnus Larsson
1999-03-30  0:00     ` Tom Moran
1999-03-30  0:00   ` Marin David Condic
1999-04-01  0:00     ` Aidan Skinner
1999-04-05  0:00       ` Marin David Condic
1999-03-31  0:00   ` fluffy_bud
1999-03-31  0:00 ` Stephen Leake
1999-04-01  0:00   ` fluffy_doo [this message]
1999-04-01  0:00     ` Tom Moran
1999-04-02  0:00     ` Jerry van Dijk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox