Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Part-New Window

Use the Part-New window to create a new part.

To open the Part-New window:

Window tasks

Fields

Push buttons

Select Open to add the part to the free-form surface in the Composition Editor.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Class Name
Description
File Name
Part Type
Base Class

Class Name

Use Class name to specify the class name of the part you want to create.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Description
File Name
Part Type
Base Class
Part-New Window

Description

Use Description to provide a description for the part you want to create. The description you enter appears in the information area, as well as being a comment in the .vbe file for the part.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Class Name
File Name
Part Type
Base Class
Part-New Window

File Name

Use File name to specify the name of the part file in which you want to save data for this part.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Class Name
Description
Part Type
Base Class
Part-New Window

Part Type

Use Part type to specify the type of part that you want to create.

Select one of the following types of parts:

Class interface part
Creates a new C++ class interface

Visual part
Creates a new visual C++ part

Nonvisual part
Creates a new nonvisual C++ part


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Class Name
Description
File Name
Base Class
Part-New Window
Visual Part
Nonvisual Part

Base Class

Use Base class to specify the name of the base class for the part you are creating.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Class Interface
Visual Part
Nonvisual Part
Add Part Window
Add Part
Class Name
Description
File Name
Part Type
Part-New Window

Class Interface

Select Class interface to create a C++ class interface part. Specify this to work with classes that do not inherit from IStandardNotifier in the Composition Editor. As an alternative, you can write and import part information.

Because a class interface part does not inherit from IStandardNotifier, it cannot signal events.

The default name for the part file is partname.vbb. To change this, enter a new name in the File name field in the Part - New window when you create the part.

By default,VisualAge shortens the name of the part file as necessary to match FAT file-naming conventions.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Part-New Window
Class Name
Description
File Name
Part Type
Base Class
Visual Part
Nonvisual Part

Visual Part

Select Visual part to create a new visual C++ part. The new part is derived from the base class that you specify.

Limitations

The default name for the part file is partname.vbb. To change this, enter a new name in the File name field in the Part - New window when you create the part.

By default, VisualAge shortens the name of the part file as necessary to match FAT file-naming conventions.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Part-New Window
Class Name
Description
File Name
Part Type
Base Class
Class Interface
Nonvisual Part

Nonvisual Part

Select Nonvisual part to create a new nonvisual C++ part. The new part is derived from the base class that you specify.

Limitations

The default name for the part file is partname.vbb. To change this, enter a new name in File name field in the Part - New window when you create the part.

By default, VisualAge shortens the name of the part file as necessary to match FAT file-naming conventions.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Add Part Window
Add Part
Part-New Window
Class Name
Description
File Name
Part Type
Base Class
Class Interface
Visual Part