Creating an ATL DHTML Control

The ATL Object Wizard, provided by Visual C++, automates the process of creating a DHTML control. It generates the necessary resource files, including an HTML file containing sample code.

To create an ATL DHTML control

  1. Using AppWizard, create an ATL Project, as described elsewhere in the ATL documentation.

  2. From the ATL Object Wizard, in the right pane, click Control. In the left pane, click HTML Control. Click Next.

  3. In the ATL Object Wizard Properties dialog box, type the name of the control in the edit box labeled Short Name. This name becomes the root for all other names in this page. Click OK to accept the defaults.

You can now test the default control.

ATL Support for DHTML Controls