========================================================================
CUSTOM APPWIZARD: Programming Windows 98 Project
========================================================================
AppWizard has created a Programming Windows 98 Project DLL for you. This DLL is the starting point
for writing your custom AppWizard. It demonstrates the basics of creating a
custom AppWizard.
Although your custom AppWizard is a DLL, it has the special suffix AWX. When
you build Programming Windows 98 Project.awx, it will automatically be copied to your Template
directory. Your custom AppWizard will then appear as a choice in the Project
Type drop-list in the New Workspace and Insert Project dialogs. To run your
custom AppWizard, simply create a new workspace (or insert a project into the
current workspace), and select your custom AppWizard from the Project Type
drop-list.
This file contains a summary of what you will find in each of the files that
make up your Programming Windows 98 Project DLL.
Programming Windows 98 Project.dsw
This file (the project workspace file) contains information on the contents
and organization of the project workspace. Other users can share the project
workspace (.dsw) file, but they should export the makefiles locally.
Files associated with the project workspace file are a project file (.dsp)
for each project in the workspace and a workspace options file (.opt).
Programming Windows 98 Project.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Programming Windows 98 Project.opt
This file (the workspace options file) contains the workspace settings that
you specify in the Project Settings dialog. These settings specify the
appearance of the project workspace using your hardware and configuration.
This binary file is automatically generated when you open the .dsw or .dsp
file in the IDE. You should not share the .opt file, because it contains
information specific to your computer.
Programming Windows 98 Project.ncb
This file provides information on the NCB (No Compile Browse) parser, the
mechanism that updates ClassView and WizardBar.
This is a binary file that is generated automatically and should not be
shared.
Programming Windows 98 Project.cpp
This file is the main DLL source file that contains the definition of
DllMain(). It also exports the function GetCustomAppWizClass(), which
returns a pointer to the one instance of this custom AppWizard's
CCustomAppWiz-derived class.
Programming Windows 98 Project.h
This file is the main header file for the DLL. It includes your
RESOURCE.H file.
Programming Windows 98 Project.rc
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.
Programming Windows 98 Project.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
/////////////////////////////////////////////////////////////////////////////
Custom AppWizard Interface:
Programming Windows 98 ProjectAw.h, Programming Windows 98 ProjectAw.cpp - the CCustomAppWiz class
These files contain your CCustomAppWiz-derived class,
CProgrammingWindows98ProjectAppWiz. 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 dialog chooser
These files contain your CDialogChooser class. The class maintains
pointers to each of your steps, keeps track of which step is currently
up, and handles calls to your custom AppWizard class's member functions
Next(...) and Back(...).
Cstm*Dlg.h, Cstm*Dlg.cpp - the dialog classes
These files contain the dialog classes for all of your custom AppWizard's
new steps. They derive from CAppWizStepDlg and override
CAppWizStepDlg::OnDismiss.
/////////////////////////////////////////////////////////////////////////////
Help Support:
MakeHelp.bat
Use this batch file to create your custom AppWizard's Help file,
Programming Windows 98 Project.hlp.
Programming Windows 98 Project.hpj
This file is the Help Project file used by the Help compiler to create
your custom AppWizard's Help file.
HLP\Programming Windows 98 Project.rtf
This file contains an empty topic for each new step you generated.
You may fill out the topics using any rich-text-format
editor such as Microsoft Word.
/////////////////////////////////////////////////////////////////////////////
Template Files:
Template\
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 Programming Windows 98 Project.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 a
肃杀惊蛰
- 粉丝: 3
- 资源: 12
最新资源
- 市建设工程安全生产标准化管理优良工地申报表.docx
- 特殊建设工程消防验收现场评定(其他建设工程消防验收备案现场检查)监督记录表.docx
- 提前报废老旧营运柴油货车补贴标准、新购营运货车补贴标准表.docx
- 基于鸟鸣声识别的鸟类分类系统项目源代码全套技术资料.zip
- 解析XML文件,使用ElementTree模块,并根据流程图设计合适的数据结构保存解析结果-使用Python ElementTree模块解析XML文件并设计数据结构-含源代码及解释
- 膝关节功能丧失程度评定表.docx
- 外出务工就业交通补助申报表.docx
- 腕关节功能丧失程度评定表.docx
- 现场评定检查表—— 防爆.docx
- 现场评定检查表—— 防火分隔、固定窗.docx
- 现场评定检查表——安全疏散.docx
- 现场评定检查表——建筑类别与耐火等级表.docx
- 现场评定检查表——建筑灭火器.docx
- 现场评定检查表--泡沫灭火系统.docx
- 现场评定检查表——平面布置.docx
- 现场评定检查表——建筑内部装修防火.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈