Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C++
ATL
ATL Concepts

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
ATL Library Reference
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.

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.

ATL

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker