Copying the Help Accelerator Resources
Next, copy the accelerator resources for the menu items.
To copy the accelerator keys for Help resources
-
Open the Accelerator table resource, IDR_MAINFRAME, from both Scribble and HelpApp, again resizing the accelerator editor windows so that they do not overlap.
-
Select the ID_HELP command from the HelpApp Accelerator table.
-
Hold down the CTRL key while you drag this entry to the Scribble accelerator editor window.
It doesn’t matter where in the window you drop the entry. This copies the accelerator keys (F1 and SHIFT+F1) for the Help menu item to Scribble.
-
Repeat this procedure for the ID_CONTEXT_HELP command.
This maps to the help mode toolbar button, described later in this lesson, in Copying the Help Mode Toolbar Button.
-
Close both accelerator editor windows.