O'Reilly logo

ATL Internals: Working with ATL 8, Second Edition by Chris Sells, Brent Rector, Kirk Fertitta, Christopher Tavares

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Windowing

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.

The Structure of a Windows Application

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required