Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.56 KB

introduction-to-atl-window-classes.md

File metadata and controls

62 lines (49 loc) · 2.56 KB
title Introduction to ATL Window Classes | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
window classes
ms.assetid 503efc2c-a269-495d-97cf-3fb300d52f3d
caps.latest.revision 11
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Introduction to ATL Window Classes

The following ATL classes are designed to implement and manipulate windows:

  • CWindow allows you to attach a window handle to the CWindow object. You then call CWindow methods to manipulate the window.

  • CWindowImpl allows you to implement a new window and process messages with a message map. You can create a window based on a new Windows class, superclass an existing class, or subclass an existing window.

  • CDialogImpl allows you to implement a modal or a modeless dialog box and process messages with a message map.

  • CContainedWindowT is a prebuilt class that implements a window whose message map is contained in another class. Using CContainedWindowT allows you to centralize message processing in one class.

  • CAxDialogImpl allows you to implement a dialog box (modal or modeless) that hosts ActiveX controls.

  • CSimpleDialog allows you to implement a modal dialog box with basic functionality.

  • CAxWindow allows you to implement a window that hosts an ActiveX control.

  • CAxWindow2T allows you to implement a window that hosts a licensed ActiveX control.

In addition to specific window classes, ATL provides several classes designed to make the implementation of an ATL window object easier. They are as follows:

See Also

Window Classes