📄 readme.htm
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Windows Template Library</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber3">
<tr>
<td><font face="Arial"><b>Windows Template Library - WTL Version 7.5</b></font><font face="Arial" size="2">
(build 5333) 11/29/05</font></td>
</tr>
<tr>
<td><hr></td>
</tr>
<tr>
<td><font face="Arial" size="2">Copyright © 2005 Microsoft Corporation.
All rights reserved.</font></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><font face="Arial" size="2">This file is a part of the Windows Template
Library.<br>
The use and distribution terms for this software are covered by the<br>
Common Public License 1.0 (<a target="_blank" href="http://opensource.org/licenses/cpl.php">http://opensource.org/licenses/cpl.php</a>)<br>
which can be found in the file CPL.TXT at the root of this distribution.<br>
By using this software in any fashion, you are agreeing to be bound by<br>
the terms of this license. You must not remove this notice, or<br>
any other, from this software.</font></td>
</tr>
<tr>
<td><hr></td>
</tr>
</table>
<p style=margin:0in> </p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">Welcome to the Windows Template Library, version
7.5. This document contains the following topics:</font></p>
<p style=margin:0in> </p>
<ul style="margin-top:0in;margin-bottom:0in">
<li><font face="Arial" size="2"><a href="#Introduction">Introduction</a></font></li>
<li><font face="Arial" size="2"><a href="#Features And Installation">Features
And Installation</a></font></li>
<li><font face="Arial" size="2"><a href="#Packing List">Packing List</a></font></li>
<li><font face="Arial" size="2"><a href="#Class Overview">Class Overview</a></font></li>
<li><font face="Arial" size="2"><a href="#ATL/WTL AppWizard">ATL/WTL AppWizard</a></font></li>
<li><a href="#Support for Windows CE"><font face="Arial" size="2">S</font></a><font face="Arial" size="2"><a href="#Support for Windows CE">upport
for Windows CE</a></font></li>
<li><font face="Arial" size="2"><a href="#Notes">Notes</a></font></li>
<li><font face="Arial" size="2"><a href="#Changes Between WTL 7.5 And 7.1">Changes Between WTL 7.5 And 7.1</a></font></li>
<li><font face="Arial" size="2"><a href="#Changes Between WTL 7.1 And 7.0">Changes Between WTL
7.1 And 7.0</a></font></li>
<li><font face="Arial" size="2"><a href="#Changes Between WTL 7.0 And 3.1">Changes Between WTL
7.0 And 3.1</a></font></li>
<li><font face="Arial" size="2"><a href="#Changes Between WTL 3.1 And 3.0">Changes Between WTL 3.1 And 3.0</a></font></li>
</ul>
<p style=margin:0in> </p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial">
<b><a name="Introduction"></a>Introduction</b></font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">Windows Template Library, or WTL, is a set of
classes that extend ATL to support more complex user interfaces for either
applications or various UI components, while maintaining the big advantage of
ATL - small and fast code. WTL classes were designed to be the best and the
easiest way to implement rich Win32 based UI for ATL based applications,
servers, components, and controls.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">WTL provides support for implementing
many
user interface elements, from frame and popup windows, to MDI, standard and
common controls, common dialogs, property sheets and pages, GDI objects, UI
updating, scrollable windows, splitter windows, command bars, etc. The WTL
classes are mostly templated and use minimal instance data and inline functions.
They were not designed as a framework, so they do not force a particular
application model, and can accommodate any. The classes do not use hooks or
thread local storage, so they have no restrictions that those techniques impose.
They also have no inter-dependencies and can be freely mixed with straight SDK
code. In summary, WTL delivers very small and efficient code, very close in size
and speed to SDK programs, while presenting a more logical, object oriented
model to a programmer.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial">
<b><a name="Features And Installation"></a>Features And Installation</b></font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">This is the fifth public release
of WTL, after WTL 3.0, 3.1, 7.0, and 7.1. It is also the first release of WTL
under the Common Public License, enabling developers from the WTL community to
contribute to the library.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">WTL classes can be used with either VC++ 6.0 and ATL 3.0, VC++ .NET
2002 and ATL 7.0, VC++ .NET 2003 and ATL 7.1, or EVC++ 4.0 or 3.0 with ATL for
Windows CE. AppWizard for VC++ .NET 2002 and 2003 is
included.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">The WTL classes are provided in
header files located in the include directory. The only header files that must
be included is atlapp.h, while others can be used when needed. The name of the
file doesn't mean that you have to create an application, just that
atlapp.h contains base definitions required for WTL projects.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">To install WTL, just copy the whole directory
structure, or unpack the archive file, to the location of your choice. Please be sure to
<b>add the WTL\include
directory</b> to the list of include directories in VC++, so that the compiler
can find them when you include them in your projects..</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">Setup programs for the AppWizard are provided. After executing the setup scripts, ATL/WTL AppWizard will appear in the list of AppWizards when you select File.New.Project
in VC++ IDE. The file AppWiz\setup70.js is the setup script for VC++ .NET 2002, while AppWiz\setup71.js is for VC++
.NET 2003.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">To manually install AppWizard
for VC++ .NET 2002/2003, copy all WTLAppWiz.* files from AppWiz\Files to VC++ .NET
projects directory, %VC7DIR%\Vc7\vcprojects, where %VC7DIR% is the directory
where VC++ .NET 2002/2003 is installed. After that, open WTLAppWiz.vsz and modify the
like that contains ABSOLUTE_PATH to contain %WTLDIR%\AppWiz\Files, where
%WTLDIR% is the directory where WTL files are.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">This release also brings the
preliminary support for the Visual Studio 2005 (codename Whidbey). App
Wizards for both Windows applications and SmartDevice projects are provided.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">Platform support and
requirements:</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2"> Compiler/IDE/ATL:</font></p>
<p style=margin:0in><font face="Arial" size="2">
Visual C++ 6.0 (ATL 3.0)</font></p>
<p style=margin:0in><font face="Arial" size="2">
Visual C++.NET 2002 (ATL 7.0)</font></p>
<p style=margin:0in><font face="Arial" size="2">
Visual C++.NET 2003 (ATL 7.1)</font></p>
<p style=margin:0in><font face="Arial" size="2">
Visual C++ 2005 (ATL 8.0) [preliminary support]</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2"> SDK
(optional):</font></p>
<p style=margin:0in><font face="Arial" size="2">
Any Platform SDK from January 2000 release up to the latest (April 2005)</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2"> Windows CE
development:</font></p>
<p style=margin:0in><font face="Arial" size="2">
eMbedded Visual C++ 3.0 - Pocket PC, Pocket PC 2002</font></p>
<p style=margin:0in><font face="Arial" size="2">
eMbedded Visual C++ 4.0 - STANDARDSDK_410, Pocket PC 2003, Smartphone 2003,
</font></p>
<p style=margin:0in><font face="Arial" size="2">
STANDARDSDK_500, Pocket PC 2003 SE, Smartphone 2003 SE</font></p>
<p style=margin:0in><font face="Arial" size="2">
Visual C++ 2005 - Pocket PC 2003 SE, Smartphone 2003 SE
[preliminary support]</font></p>
<p style=margin:0in> </p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial">
<b><a name="Packing List"></a>Packing List</b></font></p>
<p style=margin:0in> </p>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="497" id="AutoNumber2">
<tr>
<td width="136"><font face="Arial" size="2">File Name</font><font face="Arial">:</font></td>
<td width="358"><font face="Arial" size="2">Description:</font></td>
</tr>
<tr>
<td width="494" colspan="2"><hr></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2">readme.htm</font></td>
<td width="358"><font face="Arial" size="2">this file</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2">CPL.TXT</font></td>
<td width="358"><font face="Arial" size="2">Common Public License</font></td>
</tr>
<tr>
<td width="494" colspan="2"> </td>
</tr>
<tr>
<td width="494" colspan="2"><font face="Arial" size="2">include\</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlapp.h</font></td>
<td width="358"><font face="Arial" size="2">message loop, interfaces,
general app stuff</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlcrack.h</font></td>
<td width="358"><font face="Arial" size="2">message cracker macros</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlctrls.h</font></td>
<td width="358"><font face="Arial" size="2">standard and common control
classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlctrlw.h</font></td>
<td width="358"><font face="Arial" size="2">command bar class</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlctrlx.h</font></td>
<td width="358"><font face="Arial" size="2">bitmap button, check list view,
and other controls</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlddx.h</font></td>
<td width="358"><font face="Arial" size="2">data exchange for dialogs and
windows</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atldlgs.h</font></td>
<td width="358"><font face="Arial" size="2">common dialog classes, property
sheet and page classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlframe.h</font></td>
<td width="358"><font face="Arial" size="2">frame window classes, MDI,
update UI classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlgdi.h</font></td>
<td width="358"><font face="Arial" size="2">DC classes, GDI object classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlmisc.h</font></td>
<td width="358"><font face="Arial" size="2">WTL ports of CPoint, CRect,
CSize, CString, etc.</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlprint.h</font></td>
<td width="358"><font face="Arial" size="2">printing and print preview</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlres.h</font></td>
<td width="358"><font face="Arial" size="2">standard resource IDs</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlresce.h</font></td>
<td width="358"><font face="Arial" size="2">standard resource IDs for
Windows CE</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlscrl.h</font></td>
<td width="358"><font face="Arial" size="2">scrollable windows</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlsplit.h</font></td>
<td width="358"><font face="Arial" size="2">splitter windows</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atltheme.h</font></td>
<td width="358"><font face="Arial" size="2">Windows XP theme classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atluser.h</font></td>
<td width="358"><font face="Arial" size="2">menu class, USER object classes</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlwince.h</font></td>
<td width="358"><font face="Arial" size="2">specific support for Windows CE</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlwinx.h</font></td>
<td width="358"><font face="Arial" size="2">extensions of ATL windowing
support</font></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -