Windows Template Library
外观
模板参数错误!(代码36)
|
Windows Template Library(WTL)是一個用於Win32研發的物件導向的C++模板函式庫。WTL由Microsoft的員工Nenad Stefanovic創造,起初作為內部使用,之後發行為Visual Studio和Win32 Framework SDK的不支援增益集。它主要被開發作為Microsoft Foundation Classes的輕量化替代品,以微軟ATL函式庫(另一個被應用在創造COM與ActiveX的輕量含式庫)為基礎。
簡介
WTL提供實現不同用戶介面元件的支援,從框架和彈出式視窗,到MDI、標準和通用控制項、通用對話方塊、屬性工作表和頁面、图形设备接口物件,和其他通用的用戶介面元件,像可捲動的視窗、分割視窗、工具列和通用條。 WTL的主要目標是實現既小而有效率的程式碼,在以大小和速度上接近「純粹的」SDK程式的同時,提供更高接和更有彈性的物件模型給程式開發者。 其他一些的class也有包含,像是與MFC的CString
語法相容的String wrapper以及一些Templated collection。
大部分的WTL API都是標準Win32呼叫的鏡像,因此介面對於多數的Winodws程式設計者趨向較為熟悉。雖然目前沒有微軟官方的文件存在,一個名為WTL Documentation Project的專案正在嘗試建立這個函式庫的廣泛參考資料。
外部連結
- The SourceForge WTL project
- WTL Documentation - An Effort to Create Documentation for the WTL Programming Library.
- "Using the Windows Template Library Part 1"
- "Using the Windows Template Library Part 2"
- "WTL for MFC Programmers" – A series of tutorials aimed at MFC programmers who want to start using WTL.
- The WTL Wiki - A wiki dedicated to the Windows Template Library (WTL)
- WTL for codeproject
- WTL for Yahoo tech.groups
- A Quick MFC and WTL Comparison