Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.22 KB

atl-support-for-dhtml-controls.md

File metadata and controls

47 lines (31 loc) · 2.22 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: ATL Support for DHTML Controls
ATL Support for DHTML Controls
11/04/2016
HTML controls, ATL support
DHTML controls, ATL support
DHTML controls
4ba98098-da5d-4362-96ad-8372f816c307

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, using HTML, the user interface (UI) of the DHTML control.

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

  • 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 the ActiveX Control Test Container.

In This Section

Identifying the Elements of the DHTML Control Project
Describes the elements of a DHTML control project.

Calling C++ Code from DHTML
Provides an example of calling C++ code from a DHTML control.

Creating an ATL DHTML Control
Lists the steps for creating a DHTML control.

Testing the ATL DHTML Control
Shows how to build and test the initial DHTML control project.

Modifying the ATL DHTML Control
Shows how to add some functionality to the control.

Testing the Altered ATL DHTML Control
Shows how to build and test the control's added functionality.

Related Sections

ATL
Provides links to conceptual topics on how to program using the Active Template Library.