[b][red]This message was edited by trauts at 2002-9-30 14:32:5[/red][/b][hr]
I saw this earlier post (http://www.programmersheaven.com/c/MsgBoard/read.asp?Board=3&MsgID=69898&Setting=A9999F0006
and since I'm new to C++ (I've done basic), I thought that a variation of it would be nice, since a lot of my programs are really annoying.
How might I set it up so that no matter where in the program it is, if the keys "Alt+F4" are pressed, it will immediately end the program? Using the code at the abovementioned post, I could get "Q" to close at a particular point.
I'm using Microsoft VC++ 6.0 as my compiler, and I am working on a WIN32 Console Application. Feel free to email me. (email@example.com)