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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83b6250683361904,start X-Google-Attributes: gid103376,public From: Hans Marqvardsen Subject: Mouse usage in Console Application Date: 1998/09/20 Message-ID: <36052DA4.102E@ddre.dk>#1/1 X-Deja-AN: 393316959 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: DDRE Mime-Version: 1.0 Reply-To: hm@ddre.dk_nospam Newsgroups: comp.lang.ada Date: 1998-09-20T00:00:00+00:00 List-Id: 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