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

File

Select File to save changes made in the current window, generate code for parts, add the current part to the parts palette, or exit the window.

Menu choices

Save

Select Save to save the part in the specified class file. VisualAge saves the data for the part in the file name that you specified when you created the part.

Save and Generate

Select Save and generate to save any changes you made to the part and to generate C++ code. You must generate code before you can compile your application. VisualAge saves the generated code in the files listed in the Code generation files group for the part, replacing the existing code.

Menu choices

Part Source

Select Part source to generate C++ source code for the selected parts.

VisualAge stores the generated files in the current working directory.

Use the
ocecledi
Class Editor to change the file names. You can also use the Class Editor to specify the files that VisualAge must include to correctly compile the code.

Feature Source

Select Feature source to generate C++ code for a particular feature. You can generate code for all features or select particular features from the list of member functions, attributes, and events.

Select the User .hpv file and User .cpv file check boxes in the Class Editor to have VisualAge add generated feature code to the header and code files.

User Interface Source

Select User Interface Source to generate code (.cp file) used for compiling an interface DLL. This option is used only for custom visual parts.


Related concepts
Generated Part Code
Generated Application Code
Generated Feature Code
Generated Interface Code
About Implementing Custom Visual Parts

Related procedures
Generating Source Code
Generating Source Code for Your Application's main( ) Function
Generating Feature Code for the OASearch Nonvisual Parts
Generating Feature Code
Generating User Interface Source

Related references
Code Generation Errors
Working with IVBMain Parts
Class Editor

Exit

Select Exit to close the editor window.

If you have not yet saved your part since making changes, select Yes when VisualAge prompts you.