🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools
1 messages
1 total messages Started by Nigel Dsouza Mon, 16 Nov 1992 23:32
Detecting Ctrl-C or Ctrl-Break
#737
Author: Nigel Dsouza
Date: Mon, 16 Nov 1992 23:32
12 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads