Develop a Graphical User Interface from a Visual Part

In this section of the tutorial, you will use VisualAge C++ to create a user interface and the underlying code to administer a list of users. This will give you practice with the Integrated Development Environment and its Visual Builder component. If you already implemented the review tool in the previous sections of the tutorial, you can use this user interface to administer the users for that web. If not, this section at the least will help you learn how to create visual parts and integrate them with your own code within the IDE.

Here is an overview of this section of the tutorial:

Part 1. Creating a Project for a Visual Part
Starting from the VisualAge C++ IDE, you will create a new project that includes two parts: a nonvisual Main part, used for implementing your main function, and a visual part for the user interface for your program.
Part 2. Connecting the Main Part to the User Interface Part
You will make a connection in the Visual Builder from the Main part to the User Interface part, so that the frame window of your user interface is loaded and displayed when your main function runs.
Part 3. Adding User Interface Controls to a Visual Part
Within minutes, you will create a basic user interface that includes a list box, some static text, some entry fields, some push buttons, and a spin button.
Part 4. Manipulating the Appearance of User Interface Controls
You will improve the appearance of your user interface by aligning and resizing the various controls, using the Visual Builder's alignment features.
Part 5. Making Simple Connections
You will make your first connection of a visual part to an action, so that selecting the part causes the action to be performed. With a few clicks of your mouse and without typing in any code, you will cause the Exit button to close your program.
Part 6. Adding Help Text to User Interface Controls
In this section you will add hover and status-line help for your controls.
Part 7. Making Connections to User-Defined Functions
Some of your push buttons perform actions too complex to implement through a connection to a predefined action. You will connect these buttons to user-defined functions.
Part 8. Defining Functions for Custom Connections
Finally, you will add the necessary code to the user-defined functions you created in Part 7, so that your user interface is fully functional.