Documente Academic
Documente Profesional
Documente Cultură
This file is a listing of all of the Microsoft Windows resources that the
program uses. It includes all of your custom AppWizard's templates as
custom resources of type "TEMPLATE". These resources are pointers to the
files in your project's TEMPLATE directory. This file can be directly
edited in the Visual C++ development environment. However, you will
probably want to edit your templates by opening the template files directly
in the source editor rather than by editing the "TEMPLATE" resources from
the Visual C++ resource editor.
afrizal.clw
This file contains
classes or add new
information needed
maps and to create
/////////////////////////////////////////////////////////////////////////////
Custom AppWizard Interface:
afrizalAw.h, afrizalAw.cpp - the CCustomAppWiz class
These files contain your CCustomAppWiz-derived class,
CAfrizalAppWiz. This class contains virtual member functions which
MFCAPWZ.DLL calls to initialize your custom AppWizard and to query which
step to pop up at a given time. This class also contains m_Dictionary,
a CMapStringToString member variable, which maps template macro names
to their values.
/////////////////////////////////////////////////////////////////////////////
Dialogs:
Chooser.h, Chooser.cpp - the
These files contain your
pointers to each of your
up, and handles calls to
Next(...) and Back(...).
dialog chooser
CDialogChooser class. The class maintains
steps, keeps track of which step is currently
your custom AppWizard class's member functions
Put your template files in this directory. Template files are stored
in your custom AppWizard as custom resources of type "TEMPLATE", and are
used by your custom AppWizard to determine the contents of the files it
generates. When you add a new template file to this directory, you must
import that file as a "TEMPLATE" custom resource into afrizal.rc. Be
sure to select the "External File" checkbox on the custom resource's
property page.
Template\Confirm.inf
In this template you should put a description of the project your
custom AppWizard generates. The file uses template macros to customize the
text to reflect which options were selected by the custom AppWizard user.
When the custom AppWizard user clicks the "Finish" button, MFCAPWZ.DLL
parses this template and sends the output to the New Project Information
dialog.
Initially, this file is identical to the Confirm.inf template used
by AppWizard. If you add your own custom steps to the standard AppWizard
steps, you ll need to add text, macros, and directives to this template
that reflect each feature a user can choose in each custom step.
Template\NewProj.inf
This template lists all of the templates other than Confirm.inf and
NewProj.inf which your custom AppWizard will use to generate a project.
After MFCAPWZ.DLL parses this template, the output lists the other
templates to be parsed and what the output files should be called.
Initially, this file is identical to the NewProj.inf template used
by AppWizard. If you add your own custom steps to the standard AppWizard
steps which require that additional files be generated, you will need to
add statements, macros, and directives to this template that can build a
project for any combination of features a user can select from the custom
steps.
See the documentation on custom AppWizards for a more complete
description of this template and the project generation process in general.
You have also been provided with copies of the templates used by AppWizard
to generate an executable. You are free to modify any of these templates
to customize them any way you like. For example, you may wish to change
the source code tabbing style, or to include your company's copyright
message at the top of each source code file. If you delete any of these
templates, AppWizard's copy of the template will automatically be used
when your custom AppWizard generates projects.
/////////////////////////////////////////////////////////////////////////////
Other Standard Files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named afrizal.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other Notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.