Partager via


Creating New Toolbars

To create a new toolbar

  1. In Resource view, right-click your .rc file, then choose Add Resource from the shortcut menu. (If you have an existing toolbar in your .rc file, you can simply right-click the Toolbar folder and select Insert Toolbar from the shortcut menu.)

    Note   If your project doesn't already contain an .rc file, please see Creating a New Resource Script File.

  2. In the Add Resource dialog box, select Toolbar in the Resource Type list, then click New.

    If a plus sign (+) appears next to the Toolbar resource type, it means that toolbar templates are available. Click the plus sign to expand the list of templates, select a template, and click New.

    - or -

  3. Convert an existing bitmap to a toolbar.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

MFC or ATL

See Also

Reference

Toolbar Editor