delorie.com/archives/browse.cgi | search |
Message-ID: | <38A337FF.CE87A39D@maths.unine.ch> |
Date: | Thu, 10 Feb 2000 22:13:19 +0000 |
From: | Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch> |
X-Mailer: | Mozilla 4.7 (Macintosh; I; PPC) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Untrapping Ctrl-C in DJGPP |
References: | <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <Pine DOT SUN DOT 3 DOT 91 DOT 1000209090433 DOT 9816J-100000 AT is> <01bf7348$40dc9260$69e126d4 AT pena-ii> <Pine DOT SUN DOT 3 DOT 91 DOT 1000210133041 DOT 27855K-100000 AT is> <f2s5as89cbh6f1c4effk3bb03k1bnk2s6i AT 4ax DOT com> |
NNTP-Posting-Host: | mac13-32.unine.ch |
X-Trace: | 10 Feb 2000 22:11:59 +0100, mac13-32.unine.ch |
Lines: | 37 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Damian Yerrick: > What signal does clicking a Win9x DOS box's close box generate? Via $2f interrupt (see unit below and the Interrupt List http://www.ctyme.com/rbrown.htm). Also possible to change the Window title & subtitle. Win3.x+ also allows transferring the clipboard! Example in... http://members.xoom.com/gdemont/edit.htm HTH -- Gautier {---------------------------------------------------------------------. | W95Close | Sensivity to Windows 95+ close requests | |--------------' Version: 10.I.1999 / first: 13.III.1998 | | TP 6.0+ Author: Gautier DOT deMontmollin AT Maths DOT UniNe DOT CH | `---------------------------------------------------------------------} unit W95Close; interface const close_selected=0; close_acknowledged=1; do_continue=$168f; state_set_successfully=0; enable=1; disable=0; query=$100; acknowledge=$200; cancel=$300; function Command(cmd: word): word; var status: word; implementation function Command; assembler; asm mov dx, cmd; mov ax, $168f; int $2f; mov status, ax end; end.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |