Udostępnij za pośrednictwem


Creating a New Dialog Box

To create a new dialog box

  1. In Resource View, right-click your .rc file, then choose Add Resource 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 Dialog in the Resource Type list, then click New.

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

    The new dialog box opens in the Dialog editor.

    You can also open existing dialog boxes in the Dialog Box editor for editing.

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

Win32

See Also

Tasks

How to: Create a Resource

Reference

Resource Files (Visual Studio)

Dialog Editor