From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,511884c4d439ef8 X-Google-Attributes: gid103376,public From: fluffy_doo@dsuper.net Subject: Re: key strokes intercept Date: 1999/04/01 Message-ID: <3705227f.749682976@news.dsuper.net>#1/1 X-Deja-AN: 461494173 Content-Transfer-Encoding: 7bit References: <370160f9.569041534@news.dsuper.net> Content-Type: text/plain; charset=us-ascii Organization: Delphi SuperNet Inc. Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-04-01T00:00:00+00:00 List-Id: On 31 Mar 1999 14:50:37 -0500, Stephen Leake 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.