comp.lang.ada
 help / color / mirror / Atom feed
From: Hans Marqvardsen <hm@ddre.dk>
Subject: Mouse usage in Console Application
Date: 1998/09/20
Date: 1998-09-20T00:00:00+00:00	[thread overview]
Message-ID: <36052DA4.102E@ddre.dk> (raw)

About a month ago I posted a question here on how to access the mouse in
an Ada Console Application.

I got many helpful hints, plus a few comments from people, who would
like to do the same, or to use the function keys or other extended keys.

Thanks to all this, I have now made a package containing
the procedures  Get_Mouseclick, Get_Keyclick, Get_Mouse_Or_Key, and
Get_Key_Name_Text.

The package uses ReadConsoleInputA and GetKeyNameTextA from Win32.
(Heavily inspired by Jerry van Dijk's excellent NT_CONSOLE package)

I'll be glad to mail a the package plus a demo to anyone interested.
(patience: I am off until next monday)

--Hans, hm @ ddre.dk




                 reply	other threads:[~1998-09-20  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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