Partager via


ATL Window Classes

 

The latest version of this topic can be found at ATL Window Classes.

ATL includes several classes that allow you to use and implement windows. These classes, like other ATL classes, provide an efficient implementation that does not impose an overhead on your code.

This section describes the ATL window classes and explains how to use them.

In This Section

Introduction to ATL Window Classes
Briefly describes each ATL window class and provides links to the reference material on them.

Using a Window
Discusses how to use CWindow to manipulate a window.

Implementing a Window
Discusses message handlers, message maps, and using CWindowImpl. Includes details on superclassing and subclassing.

Implementing a Dialog Box
Discusses the two methods for adding a dialog box class and shows a code sample.

Using Contained Windows
Discusses contained windows in ATL, which are windows that delegate their messages to a container object instead of handling them in their own class.

Understanding Window Traits
Discusses window traits classes in ATL. These classes provide a simple method for standardizing the styles used for the creation of a window object.

ATL
Provides links to conceptual topics on how to program using the Active Template Library.

Windows Support Classes
Lists additional ATL classes that support windows and message maps in ATL.