Copying the Help Accelerator Resources

Next, copy the accelerator resources for the menu items.

To copy the accelerator keys for Help resources

  1. Open the Accelerator table resource, IDR_MAINFRAME, from both Scribble and HelpApp, again resizing the accelerator editor windows so that they do not overlap.

  2. Select the ID_HELP command from the HelpApp Accelerator table.

  3. 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.

  4. 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.

  5. Close both accelerator editor windows.