Article View: comp.os.ms-windows.programmer.tools
Article #737Detecting Ctrl-C or Ctrl-Break
From: Nigel Dsouza
Date: Mon, 16 Nov 1992 23:32
Date: Mon, 16 Nov 1992 23:32
12 lines
892 bytes
892 bytes
Do Control-C or Control-Break generate interrupts under Windows 3.1. The toolhelp function InterruptRegister does not have any interrupt corresponding to Control-C or Control-Break. I would like to be able to stop a program when the user hits one of those key combinations. I do not want to have to check the input queue, but handle it like it is done on UNIX systems; by setting up a signal handler for SIGINT. Is it possible? How? Nigel D'Souza
Technical Details
Message-ID:
<1e9b22INNn8f@eagle.natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!natinst.com!natinst.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!natinst.com!natinst.com!not-for-mail From: nigeld@natinst.com (Nigel Dsouza) Newsgroups: comp.os.ms-windows.programmer.tools Subject: Detecting Ctrl-C or Ctrl-Break Date: 16 Nov 1992 17:32:18 -0600 Organization: National Instruments, Austin, TX Lines: 12 Message-ID: <1e9b22INNn8f@eagle.natinst.com> NNTP-Posting-Host: eagle.natinst.com