Home > DeveloperSection > Blogs > Major Parts of a Visual C Program

Major Parts of a Visual C Program


Visual C++ Visual C++ 
Ratings:
1 Comment(s)
 6479  View(s)
Rate this:


Major Parts of a Visual C Program

Major parts of a Visual C++ Program


There are four major parts of a visual C++ AppWizard program:

·         The application object

·         The main window object

·         The view object

·         The document object


The Application object


                The application object, supported in welcome.h and welcome.cpp (the .h file holds the definition of constants and the declaration of variables and methods.


The main window object


                The main window object is responsible for everything that surrounds the area where the action –the drawing text and other graphics etc. that area are called client area in a window.


The view object


                The view object handles the client area- this is where we shall format and display the data in our program, such as the text we are editing.


The document object


                In document object we store the data for our program. It handles the display of the data that will fit into the client area in the view object

Overall, the four parts of our Visual C++ program

·         CWelcomeApp

Our window program itself

·         CMainFrame

Our main window

·         CWelcomeView

Handles the data display

·         CWelcomeDoc

Handles our data


Major parts of a Visual C++ Program

By Awadhendra Tiwari on   5 years ago

Thanks for this useful blog.


Don't want to miss updates? Please click the below button!

Follow MindStick