Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.77 KB

testing-the-modified-atl-dhtml-control.md

File metadata and controls

38 lines (23 loc) · 1.77 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Testing the Modified ATL DHTML Control
Testing the Modified ATL DHTML Control
11/06/2018
HTML controls, testing
testing controls
DHTML controls, testing
42316118-9433-410f-9d8a-0efcc1eff824

Testing the Modified ATL DHTML Control

Try out your new control to see how it works now.

To build and test the modified control

  1. Rebuild the project and open it in Test Container. See Testing Properties and Events with Test Container for information on how to access Test Container.

    Resize the control to show all of the buttons you added.

  2. Examine the two buttons that you inserted by altering the HTML. Each button bears the label you identified in Modifying the ATL DHTML Control: Refresh and HelloHTML.

  3. Test the two new buttons to see how they work.

Now test the methods that are not part of the UI.

  1. Highlight the control, so the border is activated.

  2. On the Control menu, choose Invoke Methods.

    The methods in the list labeled Method Name are the methods that the container can call: MethodInvoked and GoToURL. All other methods are controlled by the UI.

  3. Select a method to invoke and choose Invoke to display the method's message box or to navigate to www.microsoft.com.

  4. In the Invoke Methods dialog box, choose Close.

To learn more about the various elements and files that make up an ATL DHTML control, see Identifying the Elements of the DHTML Control Project.

See also

Support for DHTML Control