Menu Shortucts

Started by
1 comment, last by Colin Jeanne 17 years, 5 months ago
[C++ and Win32]. I'm trying to create a program to edit and save the summary information of files, and I've made excellent progress. I'm hoping to finish it this weekend since I don't have school. Anyways, I'd like to make a keyboard shortcut for saving and opening files. i.e. Ctrl+S for saving and Ctrl+O for opening. I haven't a clue how to go about doing this. If you could help that would be great!
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
Advertisement
Iirc what you want is also called a "hot key". Here are a few links that might help.

hides-show all the windows in the Taskbar at the push of a hotkey

Adding Hot Keys to your Application (mfc based but still informative)

Beginner's Tutorial - Using global hotkeys

RegisterHotKey Function

google: how to code hot keys windows c++
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Actually, what you want is a Keyboard Accelerator.

This topic is closed to new replies.

Advertisement