WTL中封装的控件类

http://blog.sina.com.cn/s/blog_4e7d3ff40100aq5b.html

http://www.cnblogs.com/vsense/archive/2009/07/23/1529736.html

 

  • 用户控件: CStatic, CButton, CListBox, CComboBox, CEdit, CScrollBar, CDragListBox
  • 通用控件: CImageList, CListViewCtrl (CListCtrl in MFC), CTreeViewCtrl (CTreeCtrl in MFC), CHeaderCtrl, CToolBarCtrl, CStatusBarCtrl, CTabCtrl, CToolTipCtrl, CTrackBarCtrl (CSliderCtrl in MFC), CUpDownCtrl (CSpinButtonCtrl in MFC), CProgressBarCtrl, CHotKeyCtrl, CAnimateCtrl, CRichEditCtrl, CReBarCtrl, CComboBoxEx, CDateTimePickerCtrl, CMonthCalendarCtrl, CIPAddressCtrl
  • MFC中没有的封装类: CPagerCtrl, CFlatScrollBar, CLinkCtrl (clickable hyperlink, available on XP only)
  • WTL特有的类:CBitmapButton, CCheckListViewCtrl (带检查选择框的list控件), CTreeViewCtrlEx 和 CTreeItem (通常一起使用, CTreeItem 封装了HTREEITEM), CHyperLink (类似于网页上的超链接对象,支持所有操作系统)

 

WTL的类大致可以分为几种类型:
            1.主框架窗口的实现- CFrameWindowImpl, CMDIFrameWindowImpl 
            2.控件的封装- CButton, CListViewCtrl 
            3.GDI 对象的封装- CDC, CMenu 
            4.一些特殊的界面特性 - CSplitterWindow, CUpdateUI, CDialogResize, CCustomDraw 
            5.实用的工具类和宏- CString, CRect, BEGIN_MSG_MAP_EX 

你可能感兴趣的:(ATL)