ATL Library Reference Windows Support ClassesSee Also ATL Class Overview | Message Map Macros | Window Class Macros The following classes provide support for windows: _U_MENUorID Provides wrappers for CreateWindow and CreateWindowEx. CWindow Contains methods for manipulating a window. CWindow is the base class for CWindowImpl, CDialogImpl, and CContainedWindow. CWindowImpl Implements a window based on a new window class. Also allows you to subclass or superclass the window. CDialogImpl Implements a dialog box. CAxDialogImpl Implements a dialog box (modal or modeless) that hosts ActiveX controls. CSimpleDialog Implements a dialog box (modal or modeless) with basic functionality. CAxWindow Manipulates a window that hosts an ActiveX control. CAxWindow2T Provides methods for manipulating a window that hosts an ActiveX control and also has support for hosting licensed ActiveX controls. CContainedWindowT Implements a window contained within another object. CWndClassInfo Manages the information of a new window class. CDynamicChain Supports dynamic chaining of message maps. CMessageMap Allows an object to expose its message maps to other objects. CWinTraits Provides a simple method of standardizing the traits of an ATL window object. CWinTraitsOR Provides default values for window styles and extended styles used to create a window. These values are added, using the logical-OR operator, to values provided during the creation of a window. Related ArticlesATL Window ClassesATL Tutorial
ATL Class Overview | Message Map Macros | Window Class Macros
The following classes provide support for windows: _U_MENUorID Provides wrappers for CreateWindow and CreateWindowEx.
CWindow Contains methods for manipulating a window. CWindow is the base class for CWindowImpl, CDialogImpl, and CContainedWindow.
CWindowImpl Implements a window based on a new window class. Also allows you to subclass or superclass the window.
CDialogImpl Implements a dialog box.
CAxDialogImpl Implements a dialog box (modal or modeless) that hosts ActiveX controls.
CSimpleDialog Implements a dialog box (modal or modeless) with basic functionality.
CAxWindow Manipulates a window that hosts an ActiveX control.
CAxWindow2T Provides methods for manipulating a window that hosts an ActiveX control and also has support for hosting licensed ActiveX controls.
CContainedWindowT Implements a window contained within another object.
CWndClassInfo Manages the information of a new window class.
CDynamicChain Supports dynamic chaining of message maps.
CMessageMap Allows an object to expose its message maps to other objects.
CWinTraits Provides a simple method of standardizing the traits of an ATL window object.
CWinTraitsOR Provides default values for window styles and extended styles used to create a window. These values are added, using the logical-OR operator, to values provided during the creation of a window.
Related ArticlesATL Window ClassesATL Tutorial
但是在名空间ATL中,我觉得可能是MS觉得ATL支持界面太少了,所以加了这些界面库!能这么理解吗?
如果这样的话,WTL将没有意义了!!!
据我观察代码所得,发现:
首先WTL是构建于ATL基础上的,
其次WTL仅仅是实现了一些界面功能。这样在ATL中实现界面就可以用WTL,是这个样子吗???
不过wtl控件太少,实际使用当中很不方便,自己都开发又不太现实。