-
February 12th, 2011, 01:37 AM
#1
[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?
Thanks!
Tags for this Thread
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
|