Поделиться через


Copying the Help Mode Toolbar Button

When you generate context-sensitive Help from the MFC Application Wizard, a button is created on the toolbar which, when selected, places the application in Help mode, just as pressing SHIFT+F1 does.

In this procedure you'll copy the Help mode button to your project's toolbar resource from the HasHelp project toolbar resource, simply by dragging it.

To copy the Help mode toolbar button

  1. Open your project's toolbar resource and HasHelp's toolbar resource, resizing both editor windows, as described in Copying the Help Menu Resources, so they do not overlap and so you can see both subject toolbars.

  2. Press CTRL and drag the Help mode button from HasHelp's toolbar onto your project's toolbar.

  3. Save the resource file for your project (.rc file), and close the HasHelp resource file.

См. также

Основные понятия

Copying Help-Specific Resources to Your Project