Step 1:
Application developed with Microsoft Visual C++, Part 1. |
1st Step, the
begining ...
|
2nd
Step, create
the MFC AppWizard - (exe version) Application.
To begin writing Windows programs in Microsoft
Visual C++ using Microsoft Wizards. Wizards, like the MFC
AppWizard, the MFC ActiveX Control Wizard, the ISAPI Extension
Wizard, and the ATL COM AppWizard help you generate the basic
source files for a variety of different types of Windows programs.
MFC AppWizard Generates a complete
suite of source files and resource files based on classes from
the MFC library. The are two versions of this wizard, one that
helps you create an MFC executable program - (MFC exe) and one that helps you create
an MFC DLL. Once you have completed the
steps in AppWizard, Visual C++ creates a functional starter
application for Windows from the starter files, without any
further work on your part.
MFC exe makes it easy to work with one of three architectures of
applications: Single Document Interface (SDI), Multiple Document
Interface (MDI) and Dialog Based.
Note:
SDI applications allow only one open document frame window at a
time. MDI applications allow multiple document frame windows to
be open in the same instance of an application.
The
MFC EXE program Wizard steps :
First, run the Microsoft Visual C++ 6
Classe name | Header file | Base class | Implementation file |
CTestVC0App CTestVC0Dlg |
TestVC0.h TestVC0Dlg.h |
CWinApp CDialog |
TestVC0.cpp TestVC0Dlg.cpp |
CAboutDlg - (base class CDialog) CTestVC0App - (base class CWinApp) CTestVC0Dlg - (base class CDialog) Dialog: IDD_ABOUTBOX - Dialog ID IDD_TESTVC0_DIALOG - Dialog ID Icon: IDR_MAINFRAME - Icon ID String Table... STring Table - Table Version VS_VERSION_INFO - Info Source Files: stdafx.cpp - that includes just the standard includes TestVC0.pch will be the pre-compiled header stdafx.obj will contain the pre-compiled type information. TestVC0.cpp - Defines the class behaviors for the application. TestDlg VC.rc = TestVC0 resources. TestVC0Dlg.cpp - implementation file includes CAboutDlg dialog used for App About. Header Files: Resource.h - Microsoft Visual C++ generated include file Used by TESTVC0.RC. stdafx.h - include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently. TestVC0.h - main header file for the TESTVC0 application. TestVC0Dlg.h - header file. |