roszg
所属分类:对话框与窗口
开发工具:Visual C++
文件大小:408KB
下载次数:1
上传日期:2018-03-20 08:06:01
上 传 者:
storb
说明: VC++扩展编程使你对VC++编程有更全面的认识和深入
文件列表:
... ...
SampleWizard(tm) Instructions
-----------------------------
This CD contains all of the examples described in the book. Each
example is contained in a Visual C++ v5.0 project subdirectory with a
name that matches the example in the book. Each project subdirectory
also contains a \Wizard subdirectory that contains just the source
necessary to add that example to your application.
The SampleWizard(tm) utility uses these \Wizard subdirectories to
automatically add the source from an example directly to your
application.
The project for the SampleWizard utility is included on the CD.
Using the SampleWizard(tm)
--------------------------
Step One: Pick a Section
----------------------------
Pick the section of the book containing the type of example you're
looking for.
Step Two: Pick a Chapter
----------------------------
Pick the chapter in the book containing the type of example you're
looking for.
Step Three: Example
----------------------------
Pick the example you want.
Step 4: Setup
---------------
Determine how the example source will be inserted into your application:
<1> Enter the root directory that contains the examples from the book.
This can be the root directory of the CD drive itself, or if you copied
the examples to your disk, the directory which contains the examples on
your disk.
This entry will initially default to the location of the
SampleWizard.exe file. Any changes you make to this entry will be saved
in the system registry for the next time.
<2> Enter the directory to copy example files, if any. This entry
will be initialized to your current working directory.
<3> Enter a name to use to substitute for the "Wzd" marker found in all
example source files. It's recommended you use a two to five character
mneumonic.
Page 5 -- View Example and Insert
---------------------------------
The SampleWizard will display the Readme.wzd file found in the example
directory. You can:
<1> Simply read the file.
<2> Copy and paste sections of the displayed file into your source.
<3> Pick "Copy notes to clipboard." then press "Finish" to have the
entire displayed file copied to the clipboard.
<4> Pick "Copy any example files to target directory." then press
"Finish" to cause any example files to be copied into your application's
subdirectory.
Adding Your Own Examples
------------------------
If you would like to add your own example to the SampleWizard's
collection:
<1> Copy the book examples from the CD to a disk directory including the
SW.exe and SampWzd.ini files.
<2> Create a new subdirectory in this directory using a Uxx name where
xx is a sequential number.
<3> Add this Uxx name to the SampWzd.ini file in the "Chapter" you want
it to appear. Append it with a description of the sample. Make sur there is
at least one space between the Uxx name and the description.
<4> Add a \Wizard subdirectory to this new example subdirectory.
<5> Add a Readme.wzd file to the \Wizard directory describing the
example and using "Wzd" in any source snippets. (The "Wzd" can then be
substituted later by the SampleWizard.) Look at the other Readme.wzd
files for an idea.
<6> Copy any example files to the \Wizard directory. Filenames and class
names should again use the "Wzd" marker.
<7> Create a wzd.dir file in the \Wizard directory containing a list
of the example source files. If there won't be any example source files,
don't create a wzd.dir file.
近期下载者:
相关文件:
收藏者: