Introduction
The project called “Balloon Designer” is done during my VC++ training period. Balloon Designer, a VC++ application, will display the balloon, when the desired size is selected out of three. This project will also show you how to develop a basic VC++ application and it upgrades Visual Studio 6.0 project to Visual Studio 2005 project.
Screen Shot
Background
This article assumes that you have some basic knowledge in C++ concepts like class , member variables, constructor, virtual function etc.
Basic Work Flow Diagram
The basic steps which I used in the development of the VC++ program are given below.
Using the Project
You can open the project both in Visual Studio 6.0 and Visual Studio 2005.
To open the project in Visual Studio 6.0:
1. Open the project folder and explore “.dsw” extension file. 2. Click “Build All” button to compile the project and then click the “Execute” button to display the output. 3. You can view and edit the project as the main source code is given in ‘CDrawBalloonView and CDrawBalloonDlg ’ classes.
To open the project in Visual Studio 2005:
1. Open the project folder and explore “.sln” extension file. 2. Click “Build Solution” button from “Build” Menu to compile the project and then click “Start Debugging” button from "Debug" Menu to display the output.
Points of Interest
Some of the used features and classes of VC++ in this project are: MFC App Wizard , Single Document Interface , SDI Application , CWinApp , CView, CDocument , CFrameWnd , CString, CDC , CDialog , CComboBox , Visual Studio 6.0 , Visual Studio 2005.
History
31/03/2012 - Article Created
Please download the source code and the associated project binaries form the below link and try experimenting with the source code and binaries.
|