Thread View: alt.comp.borland-delphi
2 messages
2 total messages
Started by 0BIT
Mon, 21 Jul 2003 19:14
Control Break
Author: 0BIT
Date: Mon, 21 Jul 2003 19:14
Date: Mon, 21 Jul 2003 19:14
11 lines
1780 bytes
1780 bytes
Hello, I've written a console application (Delphi 6), and I want to detect if Control-Break or Control-C is pressed then go to a procedure where I can put my break code. How can this be done? Greetings, 0BIT
Re: Control Break
Author: KLinZ
Date: Mon, 21 Jul 2003 19:26
Date: Mon, 21 Jul 2003 19:26
15 lines
2113 bytes
2113 bytes
0BIT wrote: > I've written a console application (Delphi 6), and I want to detect if > Control-Break or Control-C is pressed then go to a procedure where I > can put my break code. > > How can this be done? Use SetConsoleCtrlHandler() http://msdn.microsoft.com/library/en-us/dllproc/base/setconsolectrlhandler.asp -- www.zenobits.com
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