?? 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.0</b></font><font face="Arial" size="2">
(build 2088) 03/29/02</font></td>
</tr>
<tr>
<td><hr></td>
</tr>
<tr>
<td><font face="Arial" size="2">Copyright (C) 1997-2002 Microsoft Corporation<br>
All rights reserved.</font></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><font face="Arial" size="2">This file is a part of Windows Template Library.
The code and information is <br>
provided "as-is" without warranty of any kind, either expressed or implied.</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.0. This document contains the following topics:</font></p>
<p style=margin:0in> </p>
<ol 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><font face="Arial" size="2"><a href="#Changes Between WTL 3.1 And 7.0">
Changes Between WTL 3.1 And 7.0</a></font></li>
<li><font face="Arial" size="2"><a href="#Changes Between WTL 3.0 And 3.1">
Changes Between WTL 3.0 And 3.1</a></font></li>
</ol>
<p style=margin:0in> </p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial">
<b><a name="Introduction"></a>1. 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 various
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 impose 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>2. Features And Installation</b></font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">This is the third public release
of WTL, after WTL 3.0 and 3.1. It brings full support for the new Common
Controls and themes in Windows XP, and well as support for Visual Studio .NET
and ATL 7.0. It also provides fixes and enhancements to the previously available
classes that implement command bars, scrollable windows, splitter windows,
printing, bitmap buttons, etc. The classes can be used with either VC++ 6.0 and
ATL 3.0 or VC++ .NET and ATL 7.0, and App Wizards for both environments are
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 both App
Wizards are provided in their directories. After executing the setup scripts,
App Wizards will appear in the list of App Wizards when you select File.New.Project
in VC++ IDE.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">To manually install AppWizard
for VC++ 6.0, just copy the file AppWiz60\AtlApp60.awx to the custom app wizard directory in the VC++ installation,
%VC6DIR%\Common\MSDev98\Template, where %VC6DIR% is the directory where VC++ 6.0
is installed.</font></p>
<p style=margin:0in> </p>
<p style=margin:0in><font face="Arial" size="2">To manually install App Wizard
for VC++ 7.0, copy all WTLApp70.* files from AppWiz70\Files to VC++ .NET
projects directory, %VC7DIR%\Vc7\vcprojects, where %VC7DIR% is the directory
where VC++ .NET is installed. After that, open WTLApp70.vsz and modify the
like that contains ABSOLUTE_PATH to contain %WTLDIR%\AppWiz70\Files, where
%WTLDIR% is the directory where WTL files are.</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>3. 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="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"> 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</font></td>
</tr>
<tr>
<td width="494" colspan="2"> </td>
</tr>
<tr>
<td width="494" colspan="2"><font face="Arial" size="2">samples\</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> Alpha\...</font></td>
<td width="358"><font face="Arial" size="2">Windows XP 32-bit (alpha)
toolbar images</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> BmpView\...</font></td>
<td width="358"><font face="Arial" size="2">bitmap file view sample</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> MTPad\...</font></td>
<td width="358"><font face="Arial" size="2">multithreaded notepad sample</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> MDIDocVw\...</font></td>
<td width="358"><font face="Arial" size="2">WTL version of the MDI sample</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> GuidGen\...</font></td>
<td width="358"><font face="Arial" size="2">WTL version of the GuidGen
sample</font></td>
</tr>
<tr>
<td width="494" colspan="2"> </td>
</tr>
<tr>
<td width="494" colspan="2"><font face="Arial" size="2">appwiz60\</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> setup.js</font></td>
<td width="358"><font face="Arial" size="2">AppWizard setup program</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> atlapp60.awx</font></td>
<td width="358"><font face="Arial" size="2">WTL AppWizard for VC++ 6.0</font></td>
</tr>
<tr>
<td width="494" colspan="2"> </td>
</tr>
<tr>
<td width="494" colspan="2"><font face="Arial" size="2">appwiz70\</font></td>
</tr>
<tr>
<td width="136"><font face="Arial" size="2"> setup.js</font></td>
<td width="358"><font face="Arial" size="2">AppWizard setup program</font></td>
</tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -