February 12th, 2011, 01:37 AM
[RESOLVED] [C++] Win32 Program Wide Keyboard Shortcut
I have a window with some settings in it, and I want to be able to close that window via the [Esc] key. However, since I don't want to put that response into every procedure that I have, and since I know I don't have to, I decided I'd find out how it's supposed to be done.
In my research, I found something about registering keystrokes, and I found something about hooks, and although I'm sure I don't want to register anything, I wasn't sure if hooks was the way to go or not, or if there was a simplier method. Hence I come to those more experenced than I.
So what is the proper way to go about this?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.