|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Adding an ATL Property Page
To add an Active Template Library (ATL) property page to your project, your project must have been created as an ATL application or as an MFC application that contains ATL support. You can use the ATL Project Wizard to create an ATL application or add an ATL object to your MFC application to implement ATL support for an MFC application.
If you are adding a property page for a control, your control must support the ISpecifyPropertyPagesImpl interface. By default, this interface is in the derivation list of your control class when you create an ATL control using the ATL Control Wizard.
If your control class does not have ISpecifyPropertyPagesImpl in its derivation list, you must add it manually.
To add an ATL property page to your project
From the shortcut menu, click Add and then click Add Class.
Once you create a property page for a control, you must provide the PROP_PAGE entry in the property map for the control.