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. Step 1: Creating the Project Step 2: Adding a Control to Your Project Step 3. Adding a Property to Your Control Step 4: Changing Your Control's Drawing Code Step 5: Adding an Event to Your Control Step 6: Adding a Property Page to Your Control Step 7: Putting Your Control on a Web Page ATL References
u can get more details via MSDN :)
See the tutorial below, very useful :http://www.codeproject.com/atl/#Beginners
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. Step 1: Creating the Project
Step 2: Adding a Control to Your Project
Step 3. Adding a Property to Your Control
Step 4: Changing Your Control's Drawing Code
Step 5: Adding an Event to Your Control
Step 6: Adding a Property Page to Your Control
Step 7: Putting Your Control on a Web Page
ATL References
建议你多去书店蹲蹲。
书非借不能读也。
到中国互动出版网上找找,有几本好书。http://www.china-pub.com
象这种声明是什么意思
CDList<CBeam*> CreateBeamlets(CBeam * pBeam)
{
}