ATL is not simply a set of wrapper classes for COM. In the same style, it also wraps the section of the Win32 API related to creating and manipulating windows, dialogs, and window controls. In addition to basic support to remove the grudge of Windows programming, the ATL windowing classes include such advanced features as subclassing and superclassing. Furthermore, this window support forms the basis for both COM controls and COM control containment, covered in following chapters.
A standard Windows application consists of several well-known elements:
• The entry point,
_tWinMain, which provides the
HINSTANCE of the application, the command-line arguments and the flag indicating how ...