From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Untrapping Ctrl-C in DJGPP Date: Sat, 12 Feb 2000 15:03:25 +0200 Organization: NetVision Israel Lines: 13 Message-ID: <38A55A1D.1C56A3AF@is.elta.co.il> References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <01bf7348$40dc9260$69e126d4 AT pena-ii> <38A337FF DOT CE87A39D AT maths DOT unine DOT ch> NNTP-Posting-Host: ras1-p79.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 950360639 21980 62.0.172.81 (12 Feb 2000 13:03:59 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 12 Feb 2000 13:03:59 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,ru,hebrew To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Gautier wrote: > > Damian Yerrick: > > > What signal does clicking a Win9x DOS box's close box generate? > > Via $2f interrupt (see unit below and the Interrupt List The function 168Fh doesn't seem to allow to catch the close-window event, it only allows you to disable the close button. I don't see anything in RBIL that explains how to get notification about the DOS box being closed. If you know how to do that, please explain (an interface to a Pascal unit doesn't really explain how to implement that).