comp.lang.ada
 help / color / mirror / Atom feed
* Mouse usage in Console Application
@ 1998-09-20  0:00 Hans Marqvardsen
  0 siblings, 0 replies; only message in thread
From: Hans Marqvardsen @ 1998-09-20  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-20  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-20  0:00 Mouse usage in Console Application Hans Marqvardsen

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