In an ATL HTML control, you define methods to be accessible to the HTML source code of
the document displayed by the control by adding the methods to the UI dispatch
interface that is created for your ATL HTML control project. This UI dispatch interface is
used to communicate between the C++ code and the HTML UI. Script in the HTML page
displayed by your control can access properties and methods defined for this interface
via the DHTML window.external object.