CDHtmlDialog Class
Is used to create dialog boxes that use HTML rather than dialog resources to implement their user interface.
class CDHtmlDialog : public CDialog, public CDHtmlEventSink
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CDHtmlDialog object. |
|
Destroys a CDHtmlDialog object. |
Public Methods
Name |
Description |
---|---|
Overridable that is called as an access check to see whether scripting objects on the loaded page can access the external dispatch of the control site. Checks to make sure the dispatch is either safe for scripting or the current zone allows for objects that are not safe for scripting. |
|
Overridable used to create a control site instance to host the WebBrowser control on the dialog. |
|
Exchanges data between a member variable and the property value of an ActiveX control on an HTML page. |
|
Exchanges data between a member variable and a check box on an HTML page. |
|
Exchanges data between a member variable and any HTML element property on an HTML page. |
|
Exchanges data between a member variable and a radio button on an HTML page. |
|
Gets or sets the index of a list box on an HTML page. |
|
Gets or sets the display text of a list box entry (based on the current index) on an HTML page. |
|
Gets or sets the value of a list box entry (based on the current index) on an HTML page. |
|
Destroys a modeless dialog box. |
|
Enables modeless dialog boxes. |
|
Allows the dialog to filter clipboard data objects created by the hosted browser. |
|
Retrieves the IDispatch interface on an ActiveX control embedded in the HTML document. |
|
Retrieves the requested property of the specified ActiveX control. |
|
Retrieves the Uniform Resource Locator (URL) associated with the current document. |
|
Retrieves the IHTMLDocument2 interface on the currently loaded HTML document. |
|
Called by the contained WebBrowser control when it is being used as a drop target to allow the dialog to supply an alternative IDropTarget. |
|
Gets an interface on an HTML element. |
|
Retrieves the innerHTML property of an HTML element. |
|
Retrieves the requested interface pointer from an HTML element. |
|
Retrieves the value of an HTML element's property. |
|
Retrieves the innerText property of an HTML element. |
|
Gets the IHTMLEventObj pointer to the current event object. |
|
Gets the host's IDispatch interface. |
|
Retrieves the host's UI capabilities. |
|
Retrieves the registry key under which user preferences are stored. |
|
Hides the host's UI. |
|
Indicates whether the host's IDispatch interface is safe for scripting. |
|
Loads the specified resource into the WebBrowser control. |
|
Navigates to the specified URL. |
|
Called by the framework before a navigation event is fired. |
|
Called by the framework to notify an application when a document has reached the READYSTATE_COMPLETE state. |
|
Called by the framework when the document window is activated or deactivated. |
|
Called by the framework when the frame window is activated or deactivated. |
|
Called in response to the WM_INITDIALOG message. |
|
Called by the framework after a navigation event is completed. |
|
Alerts the object that it needs to resize its border space. |
|
Sets the property of an ActiveX control to a new value. |
|
Sets the innerHTML property of an HTML element. |
|
Sets a property of an HTML element. |
|
Sets the innerText property of an HTML element. |
|
Sets the host's IDispatch interface. |
|
Sets the host's UI flags. |
|
Called when a context menu is about to be displayed. |
|
Shows the host's UI. |
|
Called to process menu accelerator-key messages. |
|
Called to modify the URL to be loaded. |
|
Called to notify the host that the command state has changed. |
Public Data Members
Name |
Description |
---|---|
Indicates whether to use the HTML document's title as the dialog caption. |
|
Resource ID of HTML resource to be displayed. |
|
A pointer to a Web browser application. |
|
A pointer to an HTML document. |
|
The current URL. |
|
String version of the HTML resource ID. |
Remarks
CDHtmlDialog can load the HTML to be displayed from either an HTML resource or a URL.
CDHtmlDialog can also do data exchange with HTML controls and handle events from HTML controls, such as button clicks.
Inheritance Hierarchy
CDHtmlSinkHandlerBase2
CDHtmlSinkHandlerBase1
CDHtmlSinkHandler
CDHtmlEventSink
CDHtmlDialog
Requirements
Header: afxdhtml.h