Share via


ATL Tutorial

With ATL, you can create efficient, flexible, lightweight controls. This tutorial leads you through the creation of a control and demonstrates some ATL fundamentals in the process.

The ATL control that you create in this seven-step tutorial draws a circle and a filled polygon inside the circle. You will add a control to your project, add a Sides property to indicate how many sides the polygon will have, and add drawing code to display your control when the property changes. Then, you will make your control respond to click events, add a property page to your control, and put your control on a Web page.

The tutorial is divided into seven steps. Do them in order because later steps depend on tasks you have completed in earlier steps.