-
December 18th, 2003, 05:21 PM
#1
Detect a Control-Break from Keyboard
I need for my program to detect a Control-Break when done from the Keyboard.
Thanks..
-
December 18th, 2003, 07:03 PM
#2
Win32 hook
Never tried before, but I'm assuming you can't just handle the keydown message.
Maybe a Win32 hook will do the job.
-- Alex
http://www.lowesoftware.com - a resource for software development with business needs in mind. The site is geared at entreprenurial software developers and managers looking to improve the quality of their software. On the site find open source projects, insightful articles, and other resources for advancing software development.
-
December 18th, 2003, 11:04 PM
#3
Re: Detect a Control-Break from Keyboard
Originally posted by Jim Mcpherson
I need for my program to detect a Control-Break when done from the Keyboard.
Thanks..
If it's a console project, perhaps SetConsoleCtrlHandler could work...
Thought for the day/week/month/year:
Windows System Error 4006:
Replication with a nonconfigured partner is not allowed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|