📄 template.txt
字号:
<tr>
<td valign="top" width="32%"><font size="2">HeaderName</font></td>
<td valign="top" width="68%"><font size="2">.H File</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">CPPName</font></td>
<td valign="top" width="68%"><font size="2">.CPP File</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">CoClassName</font></td>
<td valign="top" width="68%"><font size="2">CoClass</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">InterfaceName</font></td>
<td valign="top" width="68%"><font size="2">Interface</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">TypeName</font></td>
<td valign="top" width="68%"><font size="2">Type</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">ProgID</font></td>
<td valign="top" width="68%"><font size="2">ProgID with a
.1 appended</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">VersionIndependentProgID</font></td>
<td valign="top" width="68%"><font size="2">ProgId</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">ObjectGUID</font></td>
<td valign="top" width="68%"><font size="2">None. A new
GUID is generated and its value is used.</font></td>
</tr>
</table>
<p><font size="2"><b><u>Miscellaneous Property Page</u></b></font></p>
<p><font size="2">Sets the following Symbols. ProgID is
"CtlDlg98"</font></p>
<table border="1" cellpadding="9" width="100%"
bordercolor="#000000">
<tr>
<td valign="top" width="32%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Symbol</b></font></td>
<td valign="top" width="68%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Contents of field on the
Property Page that is used for value</b></font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">WindowedOnlyEnabled</font></td>
<td valign="top" width="68%"><font size="2">Windowed
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">InsertableEnabled</font></td>
<td valign="top" width="68%"><font size="2">Insertable
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">NormalizeDCEnabled</font></td>
<td valign="top" width="68%"><font size="2">Normalize DC
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">Opaque</font></td>
<td valign="top" width="68%"><font size="2">Opaque (TRUE
or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">SolidBackground</font></td>
<td valign="top" width="68%"><font size="2">SolidBackground
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">MiscStatus</font></td>
<td valign="top" width="68%"><font size="2">Misc setting
fields</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">SubclassWindow</font></td>
<td valign="top" width="68%"><font size="2">Subclass
Combobox selection</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">SubclassWindowSymbol</font></td>
<td valign="top" width="68%"><font size="2">Subclass
Combobox selection without those characters that cannot
be used in an identifier.</font></td>
</tr>
</table>
<p><font size="2"><b><u>Attributes Property Page</u></b></font></p>
<p><font size="2">Sets the following Symbols. ProgID is
"ObjDlg98"</font></p>
<p><font size="2">The symbol Attributes controls
enabling/disabling controls. This is a string with each character
representing the field in the tab order. Each char should be
either 0 or 1.</font></p>
<table border="1" cellpadding="9" width="100%"
bordercolor="#000000">
<tr>
<td valign="top" width="32%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Symbol</b></font></td>
<td valign="top" width="68%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Contents of field on the
Property Page that is used for value</b></font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">FreeThreadedMarshaler</font></td>
<td valign="top" width="68%"><font size="2">FreeThreadedMarshaler
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">ErrorInfoEnabled</font></td>
<td valign="top" width="68%"><font size="2">ErrorInfo
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">ConnectionPointsEnabled</font></td>
<td valign="top" width="68%"><font size="2">ConnectionPoints
(TRUE or FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">Dual</font></td>
<td valign="top" width="68%"><font size="2">Dual (TRUE or
FALSE)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">ThreadingModel</font></td>
<td valign="top" width="68%"><font size="2">ThreadingModel
(Single, Apartment, Both, Free)</font></td>
</tr>
<tr>
<td valign="top" width="32%"><font size="2">Aggregatable</font></td>
<td valign="top" width="68%"><font size="2">Aggregatable
(YES, NO, ONLY)</font></td>
</tr>
</table>
<p><font size="4"><b><u>Registry entries.</u></b></font></p>
<p><font size="2">The following keys are added to the registry
under the </font></p>
<p><font size="2">HKCU\Software\Microsoft\ATLWizard</font></p>
<p><font size="2">{GUID} </font></p>
<p><font size="2">Category – REG_SZ
"<Category>"</font></p>
<p><font size="2">Control – REG_SZ "<File
name>"</font></p>
<p><font size="2">Icon – REG_SZ "File Name>"</font></p>
<p><font size="2">Name – REG_SZ "<Name>"</font></p>
<p><font size="2">{GUID} – a GUID for your component. This
is not associated with anything else. A GUID is used to get a
unique name</font></p>
<p><font size="2">Category – specifies the category under
which the component should appear. </font></p>
<p><font size="2">Control – name of the control file that
has directives for the component. It is normally a .CTL file.</font></p>
<p><font size="2">Icon – Name of the file that contains the
Icon for the component.</font></p>
<p><font size="2">Name – Name of the component.</font></p>
<p><font size="2">Register the property page. The wizard loads
the property page using its ProgID specified in the directive
file.</font></p>
<p><b><u>Symbols set by the Wizard before invoking the control
file.</u></b></p>
<table border="1" cellpadding="9" width="100%"
bordercolor="#000000">
<tr>
<td valign="top" width="29%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Symbol</b></font></td>
<td valign="top" width="71%" bgcolor="#808080"><font
color="#FFFFFF" size="2"><b>Value</b></font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">LibName</font></td>
<td valign="top" width="71%"><font size="2">Name of the
typelib in the .IDL file for the project</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">LibGUID</font></td>
<td valign="top" width="71%"><font size="2">GUID of the
typelib</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">GalleryPath</font></td>
<td valign="top" width="71%"><font size="2">Points to the
directory that contains the template files</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectName</font></td>
<td valign="top" width="71%"><font size="2">Name of the
project</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectNameCPP</font></td>
<td valign="top" width="71%"><font size="2">Name of the
project cpp file. (projectname.cpp)</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectType</font></td>
<td valign="top" width="71%"><font size="2">type of
project. EXE or DLL</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectAppID</font></td>
<td valign="top" width="71%"><font size="2">the AppID of
the local server it the project is of type EXE. Otherwise
not set</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectNameRC</font></td>
<td valign="top" width="71%"><font size="2">Name of the
RC file for the project. (Projectname.rc)</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectNameHeader</font></td>
<td valign="top" width="71%"><font size="2">Name of the
project header. (Projectname.h)</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">VCINCDIR</font></td>
<td valign="top" width="71%"><font size="2">Points to vc
include directory</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">NULLSTR</font></td>
<td valign="top" width="71%"><font size="2">set to
""</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">VC</font></td>
<td valign="top" width="71%"><font size="2">Set to 6.0 in
VC 6.0</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">STDAFXH</font></td>
<td valign="top" width="71%"><font size="2">Set to
stdafx.h</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">stdafx.h</font></td>
<td valign="top" width="71%"><font size="2">Set stdafx.h</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">STDAFXCPP</font></td>
<td valign="top" width="71%"><font size="2">Set to
stdafx.cpp</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">stdafx.cpp</font></td>
<td valign="top" width="71%"><font size="2">Set to
stdafx.cpp</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ObjectMap</font></td>
<td valign="top" width="71%"><font size="2">Set to 1 if
object map is found. otherwise symbol is not available</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectDirectory</font></td>
<td valign="top" width="71%"><font size="2">Projects
directory</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">IDLProject</font></td>
<td valign="top" width="71%"><font size="2">Name of the
IDL/ODL file for the project. Set to "" if the
project does not have an IDL/ODL</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectHadIDL</font></td>
<td valign="top" width="71%"><font size="2">Set to TRUE
if the project has IDL/ODL file. Otherwise the symbol is
not available.</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">CWinApp</font></td>
<td valign="top" width="71%"><font size="2">If the
project is MFC then this SYMBOL contains the name of the
CWinApp derived class otherwise set to ""</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">MFC</font></td>
<td valign="top" width="71%"><font size="2">Set to
"1" for MFC projects. Otherwise not available</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">MFCCTL</font></td>
<td valign="top" width="71%"><font size="2">Set to
"1" if the project is a MFC control project.
otherwise set to "0"</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">MFCOLE</font></td>
<td valign="top" width="71%"><font size="2">Set to
"1" if MFC project is MFC control project.
Otherwise not available.</font></td>
</tr>
<tr>
<td valign="top" width="29%"><font size="2">ProjectNameSafe</font></td>
<td valign="top" width="71%"><font size="2">If the
project name contains characters that cannot be used as
an identifier the this symbol contain the project name
after removing such characters.</font></td>
</tr>
</table>
<p><font size="2"></font> </p>
<p><font size="4"><b>Sample Registry files.</b></font></p>
<pre><b>.RGS file for the wizard.</b></pre>
<pre><font size="3">HKCR
{
ATLOBJ.ATLWiz = s 'ATL Object Wizard'
{
CurVer = s 'ATLOBJ.ATLWiz.1'
CLSID = s '{2EF12E30-3C3B-11d1-AFA9-00C04FB99436}'
}
ATLOBJ.ATLWiz.1 = s 'ATL Object Wizard'
{
CLSID = s '{2EF12E30-3C3B-11d1-AFA9-00C04FB99436}'
}
NoRemove CLSID
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -