WTL头文件中包含的类

 转载:WTL头文件中包含的类

为了方便以后经常查看,把这篇文章贴在自己的博客中呵呵。

Windows Template Library - WTL version 8.0

文件名

主要内容

atlapp.h

// Classes in this file:

CMessageFilter

CIdleHandler

CMessageLoop

//

CAppModule

CServerAppModule

// Global functions:

   AtlGetDefaultGuiFont()

   AtlCreateBoldFont()

  AtlInitCommonControls()

atlcrack.h

各消息分流器

atlctrls.h

CStaticT<TBase> - CStatic

CButtonT<TBase> - CButton

CListBoxT<TBase> - CListBox

CComboBoxT<TBase> - CComboBox

CEditT<TBase> - CEdit

CEditCommands<T>

CScrollBarT<TBase> - CScrollBar

CImageList

CListViewCtrlT<TBase> - CListViewCtrl

CTreeViewCtrlT<TBase> - CTreeViewCtrl

CTreeItemT<TBase> - CTreeItem

CTreeViewCtrlExT<TBase> - CTreeViewCtrlEx

CHeaderCtrlT<TBase> - CHeaderCtrl

CToolBarCtrlT<TBase> - CToolBarCtrl

CStatusBarCtrlT<TBase> - CStatusBarCtrl

CTabCtrlT<TBase> - CTabCtrl

CToolInfo

CToolTipCtrlT<TBase> - CToolTipCtrl

CTrackBarCtrlT<TBase> - CTrackBarCtrl

CUpDownCtrlT<TBase> - CUpDownCtrl

CProgressBarCtrlT<TBase> - CProgressBarCtrl

CHotKeyCtrlT<TBase> - CHotKeyCtrl

CAnimateCtrlT<TBase> - CAnimateCtrl

CRichEditCtrlT<TBase> - CRichEditCtrl

CRichEditCommands<T>

CDragListBoxT<TBase> - CDragListBox

CDragListNotifyImpl<T>

CReBarCtrlT<TBase> - CReBarCtrl

CComboBoxExT<TBase> - CComboBoxEx

CDateTimePickerCtrlT<TBase> - CDateTimePickerCtrl

CMonthCalendarCtrlT<TBase> - CMonthCalendarCtrl

CFlatScrollBarImpl<T>

CFlatScrollBarT<TBase> - CFlatScrollBar

CIPAddressCtrlT<TBase> - CIPAddressCtrl

CPagerCtrlT<TBase> - CPagerCtrl

CLinkCtrlT<TBase> - CLinkCtrl

CCustomDraw<T>

CCECommandBarCtrlT<TBase> - CCECommandBarCtrl

CCECommandBandsCtrlT<TBase> - CCECommandBandsCtrl

atlctrlw.h

CCommandBarCtrlImpl<T, TBase, TWinTraits>

CCommandBarCtrl

CMDICommandBarCtrlImpl<T, TBase, TWinTraits>

CMDICommandBarCtrl

atlctrlx.h

CBitmapButtonImpl<T, TBase, TWinTraits>

CBitmapButton

CCheckListViewCtrlImpl<T, TBase, TWinTraits>

CCheckListViewCtrl

CHyperLinkImpl<T, TBase, TWinTraits>

CHyperLink

CWaitCursor

CCustomWaitCursor

CMultiPaneStatusBarCtrlImpl<T, TBase>

CMultiPaneStatusBarCtrl

CPaneContainerImpl<T, TBase, TWinTraits>

CPaneContainer

CSortListViewImpl<T>

CSortListViewCtrlImpl<T, TBase, TWinTraits>

CSortListViewCtrl

CTabViewImpl<T, TBase, TWinTraits>

CTabView

atlddx.h

CWinDataExchange<T>

atldlgs.h

// Classes in this file:

CFileDialogImpl<T>

CFileDialog

CFileDialogEx

CMultiFileDialogImpl<T>

CMultiFileDialog

CShellFileDialogImpl<T>

CShellFileOpenDialogImpl<T>

CShellFileOpenDialog

CShellFileSaveDialogImpl<T>

CShellFileSaveDialog

CFolderDialogImpl<T>

CFolderDialog

CFontDialogImpl<T>

CFontDialog

CRichEditFontDialogImpl<T>

CRichEditFontDialog

CColorDialogImpl<T>

CColorDialog

CPrintDialogImpl<T>

CPrintDialog

CPrintDialogExImpl<T>

CPrintDialogEx

CPageSetupDialogImpl<T>

CPageSetupDialog

CFindReplaceDialogImpl<T>

CFindReplaceDialog

 

CMemDlgTemplate

CIndirectDialogImpl<T, TDlgTemplate

 

CPropertySheetWindow

CPropertySheetImpl<T, TBase>

CPropertySheet

CPropertyPageWindow

CPropertyPageImpl<T, TBase>

CPropertyPage<t_wDlgTemplateID>

CAxPropertyPageImpl<T, TBase>

CAxPropertyPage<t_wDlgTemplateID>

CWizard97SheetWindow

CWizard97SheetImpl<T, TBase>

CWizard97Sheet

CWizard97PageWindow

CWizard97PageImpl<T, TBase>

CWizard97ExteriorPageImpl<T, TBase>

CWizard97InteriorPageImpl<T, TBase>

CAeroWizardFrameWindow

CAeroWizardFrameImpl<T, TBase>

CAeroWizardFrame

CAeroWizardPageWindow

CAeroWizardPageImpl<T, TBase>

CAeroWizardPage<t_wDlgTemplateID>

CAeroWizardAxPageImpl<T, TBase>

CAeroWizardAxPage<t_wDlgTemplateID>

CTaskDialogConfig

CTaskDialogImpl<T>

CTaskDialog

 

Global functions:

  AtlTaskDialog()

atlframe.h

Classes in this file:

 

CFrameWindowImpl<T, TBase, TWinTraits>

CMDIWindow

CMDIFrameWindowImpl<T, TBase, TWinTraits>

CMDIChildWindowImpl<T, TBase, TWinTraits>

COwnerDraw<T>

CUpdateUIBase

CUpdateUI<T>

CDynamicUpdateUI<T>

CDialogResize<T>

CDoubleBufferImpl<T>

CDoubleBufferWindowImpl<T, TBase, TWinTraits>

 

Global functions:

  AtlCreateSimpleToolBar()

 

atlgdi.h

Classes in this file:

 

CPenT<t_bManaged>

CBrushT<t_bManaged>

CLogFont

CFontT<t_bManaged>

CBitmapT<t_bManaged>

CPaletteT<t_bManaged>

CRgnT<t_bManaged>

CDCT<t_bManaged>

CPaintDC

CClientDC

CWindowDC

CMemoryDC

CEnhMetaFileInfo

CEnhMetaFileT<t_bManaged>

CEnhMetaFileDC

 

Global functions:

  AtlGetBitmapResourceInfo()

  AtlGetBitmapResourceBitsPerPixel()

  AtlIsAlphaBitmapResource()

  AtlIsDib16()

  AtlGetDibColorTableSize()

  AtlGetDibNumColors(),

  AtlGetDibBitmap()

  AtlCopyBitmap()

  AtlCreatePackedDib16()

  AtlSetClipboardDib16()

  AtlGetClipboardDib()

atlmisc.h

Classes in this file:

 

CSize

CPoint

CRect

CString

 

CRecentDocumentListBase<T, t_cchItemLen, t_nFirstID, t_nLastID>

CRecentDocumentList

CFindFile

 

Global functions:

  AtlLoadAccelerators()

  AtlLoadMenu()

  AtlLoadBitmap()

  AtlLoadSysBitmap()

  AtlLoadCursor()

  AtlLoadSysCursor()

  AtlLoadIcon()

  AtlLoadSysIcon()

  AtlLoadBitmapImage()

  AtlLoadCursorImage()

  AtlLoadIconImage()

  AtlLoadSysBitmapImage()

  AtlLoadSysCursorImage()

  AtlLoadSysIconImage()

  AtlLoadString()

 

  AtlGetStockPen()

  AtlGetStockBrush()

  AtlGetStockFont()

  AtlGetStockPalette()

 

  AtlCompactPath()

atlprint.h

//class in this file:

CPrinterInfo<t_nInfo>
CPrinterT<t_bManaged>
CDevModeT<t_bManaged>
CPrinterDC
CPrintJobInfo
CPrintJob
CPrintPreview
CPrintPreviewWindowImpl<T, TBase, TWinTraits>
CPrintPreviewWindow

atlres.h

各种ID

atlscrl.h

CScrollImpl<T>

CScrollWindowImpl<T, TBase, TWinTraits>

CMapScrollImpl<T>

CMapScrollWindowImpl<T, TBase, TWinTraits>

CFSBWindowT<TBase>

CZoomScrollImpl<T>

CZoomScrollWindowImpl<T, TBase, TWinTraits>

CScrollContainerImpl<T, TBase, TWinTraits>

CScrollContainer

atlsplit.h

CSplitterImpl<T, t_bVertical>

CSplitterWindowImpl<T, t_bVertical, TBase, TWinTraits>

CSplitterWindowT<t_bVertical>

atltheme.h

Classes in this file:

 

CTheme

CThemeImpl<T, TBase>

 

CBufferedPaint

CBufferedPaintImpl<T>

CBufferedPaintWindowImpl<T, TBase, TWinTraits>

CBufferedAnimation

CBufferedAnimationImpl<T, TState>

CBufferedAnimationWindowImpl<T, TState, TBase, TWinTraits>

 

Global functions:

  AtlDrawThemeClientEdge()

atluser.h

Classes in this file:

 

CMenuItemInfo

CMenuT<t_bManaged>

CAcceleratorT<t_bManaged>

CIconT<t_bManaged>

CCursorT<t_bManaged>

CResource

 

Global functions: 

  AtlMessageBox()

atlfind.h

CEditFindReplaceImplBase<T, TFindReplaceDialog>

CEditFindReplaceImpl<T, TFindReplaceDialog>

CRichEditFindReplaceImpl<T, TFindReplaceDialog>

altwinx.h

_U_RECT

_U_MENUorID

_U_STRINGorID

atlwince.h

Classes in this file:

 

CStdDialogBase<T, t_shidiFlags, t_bModal> : Standard PPC/SmartPhone dialog base class

CStdDialogImplBase - Base implementation of standard dialog

CStdDialogImpl<T, t_shidiFlags, t_bModal> : Standard dialog implementation

CStdIndirectDialogImpl - implementation of standard indirect PPC/SmartPhone dialog

CStdAxDialogImpl<T, t_shidiFlags, t_bModal> : Standard AxDialog implementation

CStdSimpleDialog<t_wDlgTemplateID, t_shidiFlags> : Standard simple dialog

CStdDialogResizeImplBase - Base implementation of orientation resizing standard dialog

CStdDialogResizeImpl<T, t_shidiFlags, t_bModal> : Orientation resizing standard dialog implement

CStdAxDialogResizeImpl - implementation of orientation resizing standard AxDialog

CStdSimpleDialogResizeImpl<T, t_wDlgTemplateID, t_shidiFlags> : Standard resizing simple dialog

CStdOrientedDialogBase - Oriented PPC standard dialog base class

CStdOrientedDialogImplBase - Oriented PPC standard dialog base implementation

CStdOrientedDialogImpl<T, t_shidiFlags, t_bModal> : Oriented PPC standard dialog implementation

CStdAxOrientedDialogImpl - Oriented PPC standard AxDialog implementation

CStdSimpleOrientedDialog<t_wDlgTemplateID, t_wDlgLandscapeID, t_shidiFlags> : Standard simple or

 

CAppInfoBase    : Helper for application state save/restore to registry

CAppInfoT<T> : CAppInfoBase constructed from a CAppWindow<T>

CAppWindowBase<T> : Base class for PPC/SmartPhone well-behaved application window or dialog

CAppWindow<T> : PPC/SmartPhone well-behaved application window class

CAppDialog<T> : PPC/SmartPhone well-behaved application dialog class

CAppStdDialogImplBase - Base implementation of standard application dialogs

CAppStdDialogImpl<T, t_shidiFlags, t_bModal> : Implementation of standard application dialog

CAppStdDialogResizeImpl - implementation of orientation resizing standard application dialog

CAppStdAxDialogImpl - Implementation of standard application AxDialog

CAppStdAxDialogResizeImpl - implementation of orientation resizing standard application AxDialog

CAppStdOrientedDialogImpl - implementation of oriented PPC standard application dialog

CAppStdAxOrientedDialogImpl - implementation of oriented PPC standard application AxDialog

 

CFullScreenFrame<T, t_bHasSip> : Full screen frame class

 

CZoomScrollImpl<T> : WinCE zooming implementation

 

CBottomTabViewImpl<T, TBase, TWinTraits> - CBottomTabView

CHtmlCtrlT<TBase> - CHtmlCtrl

CRichInkCtrlT<TBase> - CRichInkCtrl

CInkXCtrlT<TBase> - CInkXCtrl

CVoiceRecorderCtrlT<TBase> - CVoiceRecorderCtrl

CDocListCtrlT<TBase> - CDocListCtrl

CCapEditT<TBase> - CCapEdit

CTTStaticT<TBase> - CTTStatic

CTTButtonT<TBase> - CTTButton

 

CSpinCtrlT<TBase> - CSpinCtrl : SmartPhone specific UpDown control

CSpinned<TBase, t_bExpandOnly> : SmartPhone association of control and Spin

CSpinListBox : SmartPhone spinned ListBox control

CExpandListBox : SmartPhone expandable ListBox control

CExpandEdit : SmartPhone expandable Edit control

CExpandCapEdit : SmartPhone expandable CapEdit control

 

Global functions:

  AtlCreateMenuBar()

  AtlCreateEmptyMenuBar()

  AtlIsEditFocus()

  AtlActivateBackKey()

 

 

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
简介 WTLWindows Template Library 的缩写,由微软的ATL(Active Template Library) 小组开发,主要是基于 ATL 对Win32API 的封装。从 2.0 后,功能逐步完善,成为了一个完整的支持窗口的框架(windows framework)。 WTL 功能不如MFC完善,但是比 MFC 更小巧,不依赖 MFC 的DLL。 WTL 不是微软的正式产品,没有微软的官方支持。 WTL有什么? 它给各种型的应用程序提供了一个基本的框架.注意,虽然没有MFC那样的文档/视结构,但是有视(views). 在WTL有大量的代码来管理视,而且加入自己的代码也很容易. WTL有AppWizard,可以生成SDI,MDI和多线程SDI程序多线程SDI跟IE或Windows Explorer很像.它看起来是打开了多个程序实例,实际上这些窗口都是属于一个进程的). 另外,程序可以是基于对话框的,也可以是基于视的.视可以是基于CWindowImpl的,也可以是基于控件,甚至是IE里的一个HTML页.可以选择程序是否需要一个rebar, command bar (CE-like), toolbar 和/或status bar.另外,程序可以支持ActiveX控件,以及成为一个COM服务器. 这里有几个关于视的选项. WTL提供splitter窗口(这样在一个视里您可以有两个窗口)和scroll窗口(这样您的窗口可以比它显示的"视"小). WTL也有个似MFC的UpDateUI的东西,但是它们不是很一样 - 主要的区别是您需要把需要更新的项用宏映射标注出来,然后您在您的里加入执行UpdateUI的代码. DDX/DDV在WTL也支持,同样似MFC,但有不同. 必须加一个宏映射来实现DoDataExchange,然后加入调用它的代码. 现在WTL也有GDI了.然而,HDC的封装就像CWindow一样,只进行了很简单的封装 - 它几乎没有加入任何新的功能.不过,在WTL,你可以得到播放meta文件和OpenGL支持. 最有价值的我猜应该是打印机DC的那些继承 - WTL有打印机支持,甚至打印预览. 当然也有GDI对象的封装. 诸如画笔,画刷,区域等. WTL对所有的Win32 (和W2K) 通用对话框进行了封装.同样尽管简单,但是它的确使请求字体或者文件变的非常的简单. 合成了旧的AtlControls.h,新加了一些封装. 这些封装封装了W2K控件,以及一些不属于Win32的"控件",像Command Bar, bitmap button, hyperlink 和 wait cursor. WTL 最终把消息分离带入了ATL! 一些新的MSG映射宏将消息分离,调用您里的消息处理函数.消息处理函数的参数的值是从消息分离得到的.唯一令人头痛的是,您需要查看头文件以确定函数参数的意义. 最后,WTL还有一些实用.最重要的是CString. 不错,它是从MFC克隆得到的(copy on write),具有(在我知道的范围内)MFC版本的所有方法.还有查找文件的API的封装,以及CRect, CSize and CPoint. WTL没有什么? 没有Document支持 WTL提供了frame和view,但是没有document。WTL所关注的是用户界面,而document是不可见的,所以它不是WTL关心的范围。 没有Active Document支持 没有ISAPI支持 没有WinInet支持 没有对线程和同步进行包装 没有数据库支持 总结 如果打算写一个Win32 界面程序,我建议您在考虑MFC之前,先试试WTL.使用WTL来写您的代码, 程序将变得小巧些,也更有效率些.使用WTL, 还将得到ATL支持COM好处.可以在2000年一月份的平台SDK找到WTL.在MSI选项页的Source Code section下. 无 。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值