I need for my program to detect a Control-Break when done from the Keyboard.
Thanks..
Printable View
I need for my program to detect a Control-Break when done from the Keyboard.
Thanks..
Never tried before, but I'm assuming you can't just handle the keydown message.
Maybe a Win32 hook will do the job.
-- Alex
If it's a console project, perhaps SetConsoleCtrlHandler could work...Quote:
Originally posted by Jim Mcpherson
I need for my program to detect a Control-Break when done from the Keyboard.
Thanks..