ATL Support for DHTML Controls

ATL Support for DHTML Controls

Using ATL, you can create a control with Dynamic HTML (DHTML) capability. An ATL DHTML control:

  • Hosts the WebBrowser control.

  • Specifies the user interface (UI) of the DHTML control using HTML.

  • Accesses the WebBrowser object and its methods through its interface, .

  • Manages communication between C++ code and HTML.

A DHTML control is similar to any other ATL control, except the DHTML control includes an additional dispatch interface. See the figure in Identifying the Elements of the DHTML Control Project for an illustration of the interfaces provided in the default DHTML project.

You can view the ATL DHTML control in a web browser or other container, such as Test Container.

This article covers the following topics:

Page view tracker