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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e812d69362dc764c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-15 12:42:04 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.maxwell.syr.edu!sunqbc.risq.qc.ca!news3.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Freelancer" Newsgroups: comp.lang.ada References: <+9MtPNUtSdgw@eisner.decus.org> Subject: Re: How to lock keys. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Fri, 15 Dec 2000 20:40:08 GMT NNTP-Posting-Host: 64.229.195.161 X-Trace: news20.bellglobal.com 976912808 64.229.195.161 (Fri, 15 Dec 2000 15:40:08 EST) NNTP-Posting-Date: Fri, 15 Dec 2000 15:40:08 EST Organization: Sympatico Xref: supernews.google.com comp.lang.ada:3180 Date: 2000-12-15T20:40:08+00:00 List-Id: If it's not an ada question then how is it that other software may disable the use of the key. How come CTRL+C does a copy selection in the dos Edit program, and how come it stops the execution of my program? Somewhere I have to program something in Ada to change or disable the function of a specific scan code. Larry Kilgallen wrote in message news:+9MtPNUtSdgw@eisner.decus.org... > In article , "Freelancer" writes: > > I'm using ObjectAda and programming console programs in win98. I was > > wondering if someone could tell me how to lock out any keys that I don't > > want in my program. > > > > > > For example : I would like to lock out CTRL+C so that it doesn't terminate > > the program. > > You are asking how to disable an operating system function, > and that is specific to the operating system you choose. > > Check your Microsoft documentation, as this is not an Ada question.