Share via


Add Resource Dialog Box

Use this dialog box to add resources to your project.

  • Resource Type
    Specifies the kind of resource you want to create.

    You can expand the cursor and dialog box resource categories to reveal additional resources. These resources are located in \Program Files\Microsoft Visual Studio 8\VC\VCResourceTemplates\<LCID>\mfc.rct. If you add additional .rct files, they must be placed in this directory or you must specify an include path for them. The resources contained in those files will then show at the second level under the appropriate category. There is no preset limit to the number of .rct files you can add.

    The resources shown at the top level in the tree control are the default resources provided by Visual Studio.

  • New
    Creates a resource based on the type you have selected in the Resource Type box. The resource opens inside the appropriate editor. For example, creating a new dialog resource opens it inside the Dialog editor.

  • Import
    Opens the Import dialog box in which you can navigate to a resource you'd like to import into your current project. Enables you to import a bitmap, icon, cursor, HTML, or sound (.WAV) resource, or anything that is custom to the current resource file.

  • Custom
    Opens the New Custom Resource dialog box in which you can create a new custom resource. Custom resources can be edited in the Binary editor only.

Requirements

None

See Also

Tasks

How to: Create a Resource