========================================================================
CUSTOM APPWIZARD: PropSheet Wizard
========================================================================
AppWizard has created a PropSheet Wizard 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 PropSheet Wizard.awx, it will automatically be copied to your Template
directory. Your custom AppWizard will then appear as 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 PropSheet Wizard DLL.
PropSheet Wizard.mak
This project file is compatible with the Visual C++ development
environment. It is also compatible with the NMAKE program provided with
Visual C++.
To build a debug version of the program from the MS-DOS prompt, type
nmake /f PropSheet Wizard.mak CFG="Win32 Debug".
To build a release version of the program, type
nmake /f PropSheet Wizard.mak CFG="Win32 Release".
PropSheet Wizard.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.
PropSheet Wizard.h
This file is the main header file for the DLL. It includes your
RESOURCE.H file.
PropSheet Wizard.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.
PropSheet Wizard.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:
PropSheet WizardAw.h, PropSheet WizardAw.cpp - the CCustomAppWiz class
These files contain your CCustomAppWiz-derived class,
CPropSheetWizardAppWiz. 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,
PropSheet Wizard.hlp.
PropSheet Wizard.hpj
This file is the Help Project file used by the Help compiler to create
your custom AppWizard's Help file.
HLP\PropSheet Wizard.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 PropSheet Wizard.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.
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.
See the documentation on custom AppWizards for a more complete
description of this template and the project generation process in general.
/////////////////////////////////////////////////////////////////////////////
Other Standard Files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named PropSheet Wizard.pch and a precompiled types file named StdAfx.obj.
Rresource.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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
visual c++高级界面特效制作百例(源码)(13-26) (1335个子文件)
Stealth.001 9KB
TrayCalender.001 9KB
Strtmenu.001 7KB
ticktest.001 7KB
TemplateMFC.001 7KB
Traytest.001 7KB
StatusBar.001 5KB
fontsTest.001 5KB
datapkproj.001 5KB
Xx.001 5KB
TaskBar.001 5KB
Example.001 5KB
Example.001 5KB
OSDetect.001 5KB
FontTest.001 4KB
MRUComboTest.001 4KB
PropertySheetWithLogo.001 4KB
SysImageList.001 4KB
RegistryDemo.001 4KB
IPTest.001 4KB
CBCPTest.001 4KB
Pizza.001 4KB
Q.001 4KB
RangeEdit.001 4KB
FourSeasons.001 3KB
ExToolBar.aps 127KB
WavTipSample.aps 108KB
TrayCalender.aps 76KB
TREELIST.APS 50KB
StatusBar.aps 50KB
Xx.aps 47KB
datapkproj.aps 46KB
DemoToolTip.aps 45KB
Avidemo.aps 44KB
TextInStatus.aps 43KB
OSDetect.aps 42KB
TemplateMFC.aps 39KB
Eureka.aps 39KB
GridCtrlDemo.aps 38KB
HardwareInfo.aps 37KB
TaskBar.aps 36KB
Example.aps 36KB
Q.APS 35KB
fontsTest.aps 35KB
HexEdit.aps 35KB
QuatRotDemo.aps 35KB
FontTest.aps 35KB
CBCPTest.aps 34KB
Traytest.aps 34KB
ComboExDemo.aps 34KB
RangeEdit.aps 33KB
FScript.aps 32KB
DemoTBarC.aps 32KB
Strtmenu.aps 32KB
MRUComboTest.aps 22KB
PropertySheetWithLogo.aps 21KB
IPTest.aps 20KB
ProgressBarDemo.aps 20KB
filecopy.avi 9KB
MAKEHELP.BAT 1KB
_BACKUP.BAT 884B
_DELREL.BAT 123B
_DELDBG.BAT 121B
template.bin 90B
testpage.bmp 141KB
bmp00003.bmp 16KB
bitmap_s.bmp 16KB
step2.bmp 16KB
step4.bmp 16KB
bitmap1.bmp 16KB
step3.bmp 16KB
256_std_toolbar_db.bmp 11KB
256_std_toolbar_bw.bmp 11KB
256_std_toolbar.bmp 11KB
Splsh16.bmp 6KB
16_std_toolbar.bmp 5KB
16_std_toolbar_db.bmp 5KB
16_std_toolbar_bw.bmp 5KB
bitmap2.bmp 4KB
small_256_std_toolbar_db.bmp 4KB
small_256_std_toolbar_bw.bmp 4KB
small_256_std_toolbar.bmp 4KB
send_to_.bmp 2KB
bmp00002.bmp 2KB
about.bmp 2KB
PALETTE.BMP 2KB
TOOLBAR.BMP 1KB
small_16_std_toolbar_bw.bmp 1KB
small_16_std_toolbar_db.bmp 1KB
small_16_std_toolbar.bmp 1KB
toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
Toolbar.bmp 1KB
TOOLBAR.BMP 1KB
共 1335 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
- qq149233492013-08-07说的很仔细,可做初学者实验用,美中不足是代码不全
msn_zy
- 粉丝: 1
- 资源: 41
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功