Testing the Modified ATL DHTML Control
Try out your new control to see how it works now.
-
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.
-
Highlight the control, so the border is activated.
-
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.
-
Click Invoke to display the method's message box.
-
Click OK and then, in the Invoke Methods dialog box, click Close.
-
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.
-
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