Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 2.93 KB

atl-com-property-pages.md

File metadata and controls

65 lines (56 loc) · 2.93 KB
title ATL COM Property Pages | 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
property pages, COM
ATL COM objects
COM property pages
property pages, ATL
COM objects, ATL
ATL property pages
ms.assetid 663c7caa-2e5e-4b5c-b8ea-fd434ceb1654
caps.latest.revision 13
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

ATL COM Property Pages

COM property pages provide a user interface for setting the properties (or calling the methods) of one or more COM objects. Property pages are used extensively by ActiveX controls for providing rich user interfaces that allow control properties to be set at design time.

Property pages are COM objects that implement the IPropertyPage or IPropertyPage2 interface. These interfaces provide methods that allow the page to be associated with a site (a COM object representing the container of the page) and a number of objects (COM objects whose methods will be called in response to changes made by the user of the property page). The property page container is responsible for calling methods on the property page interface to tell the page when to show or hide its user interface, and when to apply the changes made by the user to the underlying objects.

Each property page can be built completely independently of the objects whose properties can be set. All that a property page needs is to understand a particular interface (or set of interfaces) and to provide a user interface for calling methods on that interface.

For more information, see Property Sheets and Property Pages in the [!INCLUDEwinSDK].

In This Section

Specifying Property Pages
Lists the steps for specifying property pages for you control and shows an example class.

Implementing Property Pages
Lists the steps for implementing property pages, including methods to override. Walks you through a complete example based on the ATLPages sample program.

Related Sections

ATLPages Sample
The sample abstract for the ATLPages sample, which implements a property page using IPropertyPageImpl.

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

See Also

Concepts