home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
-
- 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
-