Skip to main content
Email Password   helpLost your password?

What is the Windows Template Library you ask?

Brief history

In the beginning when ATL appeared, developers were happy. We had a way to write fast, small COM components. Well the happiness ended soon after when we found that we had to write code wrappers for any of the window's controls we wanted to use. So MS responded to our plight and gave us WTL, completely unfinished and unsupported (for now).

See WTL Documented for more information.

Features

All this but no documentation! Oh well, we're all professionals and can read code, so for now that will have to suffice.

Where do you get it?

Thanks to Nenad Stefanovic of the WTL development team we now have 2 methods of downloading the WTL source file (Special thanks to Shannon McCoy for pointing this out).

Method 1

Click here to download the WTL source files.

Method 2

Go and get the Platform SDKs.

WTL resides in the Platform SDKs. To find and install WTL you need to download the latest release of the Platform SDKs. In the screen seen below, Expand the Source code tree item and select the Windows Template Library for download.

So, you have the SDKs installed, your ready to go... well almost. Don’t forget to add the WTL include path to Developer Studio. To do that in Developer Studio go to Tools | Options and click on the 'Directories' tab. Once you are there simply add the include path to the 'Include files' list.

What’s in the box?

Let’s take a look at the goodies we got. The WTL is setup so that all the code resides in header files; it's setup this way so that we have full control of what is been tacked into your project.

The Headers

File name Description
   
atlapp.h Message loop, interfaces, general app stuff
atlcrack.h Message cracker macros atlctrls.h Standard and common control classes
atlctrlw.h Command bar class atlctrlx.h Bitmap button, check list view, and other controls
atlddx.h Data exchange for dialogs and windows
atldlgs.h Common dialog classes, property sheet and page classes
atlframe.h Frame window classes, MDI, update UI classes
atlgdi.h

DC classes, GDI object classes

atlmisc.h

ATL ports of CPoint, CRect, CSize, CString, etc.

atlprint.h

Printing and print preview

atlres.h Standard resource Ids
atlscrl.h Scrollable windows
atlsplit.h Splitter windows
atluser.h Menu class

The Samples

Directory Description
   
MTPad

Multithreaded notepad sample

MDIDocVw

ATL version of the MDI sample

GuidGen

ATL version of the GuidGen sample

The App-Wizard

File Name Description
   
AtlApp60.Awx ATL/WTL AppWizard

And of course there is a 'readme.txt', which outlines the class hierarchy of the WTL. Sorry, I said there was no documentation, my bad :)

Thats it! You got the WTL and your ready to go.

Ben Burnett

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralGood job Pin
kiol
10:39 18 Feb '08  
GeneralHow I can use WTL in VC++/ Visual Studio 2005 Pin
nmtdhbk
17:50 22 Jun '06  
GeneralBorland c++ Pin
Sean Maxam
14:42 16 Jan '06  
GeneralVC6 and appwiz Pin
Beyogus Deywd
21:00 16 Feb '05  
GeneralRe: VC6 and appwiz Pin
iamduyu
15:14 9 May '07  
GeneralHow to run setup.js Pin
faint_u
16:41 27 Oct '04  
GeneralRe: How to run setup.js Pin
STASH!
9:04 30 Oct '04  
GeneralCan tell me how install WTL7.0 on MSvc7.1? Pin
Farhawk
22:41 11 Sep '03  
GeneralRe: Can tell me how install WTL7.0 on MSvc7.1? Pin
faint_u
20:55 10 Nov '03  
GeneralRe: Can tell me how install WTL7.0 on MSvc7.1? Pin
Kukchin Kim
20:15 4 Feb '04  
GeneralWTL 3.1 or 7.0? Pin
tareqsiraj
20:23 11 Jul '03  
GeneralRe: WTL 3.1 or 7.0? Pin
Michael Dunn
21:09 11 Jul '03  
GeneralWhy do we need WTL? Pin
anon123
15:40 8 Feb '03  
GeneralRe: Why do we need WTL? Pin
Soliant
16:06 16 Feb '03  
GeneralHow to install WTL in C++ Pin
GOLDEN
7:14 15 May '02  
GeneralRe: How to install WTL in C++ Pin
Ramon Casellas
7:22 15 May '02  
GeneralRe: How to install WTL in C++ Pin
GOLDEN
6:36 16 May '02  
GeneralRe: How to install WTL in C++ Pin
xc
23:45 25 May '02  
GeneralRe: How to install WTL in C++ Pin
zoom
23:02 19 Nov '02  
GeneralRe: How to install WTL in C++ Pin
ideras
17:04 9 Jul '03  
GeneralRe: How to install WTL in C++ Pin
cc5416
17:33 17 Feb '05  
GeneralRe: How to install WTL in C++ Pin
nmtdhbk
17:46 22 Jun '06  
GeneralRe: How to install WTL in C++ Pin
CuBr
12:41 1 Sep '06  
GeneralRe: How to install WTL in C++ Pin
gankh
18:42 1 Jan '06  
GeneralUsing Microsoft Agent Pin
iacchus
17:25 3 Feb '02  


Last Updated 30 Apr 2001 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009