Testing the Modified ATL DHTML Control

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

  1. Rebuild the project and open it in Test Container. Resize the control to show all of the buttons you added. Before you try them, test the method that is not part of the UI.

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

  3. On the Control menu, click Invoke Methods.

    The only method on the list labeled Method Name is the method that the container can call: MethodInvoked. All other methods are controlled by the UI.

  4. Click Invoke to display the method's message box.

  5. Click OK and then, in the Invoke Methods dialog box, click Close.

  6. Examine the three buttons that you inserted by altering the HTML. Each button bears the label you identified in the previous topic: Refresh, HelloHTML, and WWW.

  7. Test the three new buttons to see how they work.

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.

ATL Support for DHTML Controls