다음을 통해 공유


CDHtmlDialog Members

Constructor/Destructor

CDHtmlDialog

Constructs a CDHtmlDialog object.

~CDHtmlDialog

Destroys a CDHtmlDialog object.

Member Functions

CanAccessExternal

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.

CreateControlSite

Overridable used to create a control site instance to host the WebBrowser control on the dialog.

DDX_DHtml_AxControl

Exchanges data between a member variable and the property value of an ActiveX control on an HTML page.

DDX_DHtml_CheckBox

Exchanges data between a member variable and a check box on an HTML page.

DDX_DHtml_ElementText

Exchanges data between a member variable and any HTML element property on an HTML page.

DDX_DHtml_Radio

Exchanges data between a member variable and a radio button on an HTML page.

DDX_DHtml_SelectIndex

Gets or sets the index of a list box on an HTML page.

DDX_DHtml_SelectString

Gets or sets the display text of a list box entry (based on the current index) on an HTML page.

DDX_DHtml_SelectValue

Gets or sets the value of a list box entry (based on the current index) on an HTML page.

DestroyModeless

Destroys a modeless dialog box.

EnableModeless

Enables modeless dialog boxes.

FilterDataObject

Allows the dialog to filter clipboard data objects created by the hosted browser.

GetControlDispatch

Retrieves the IDispatch interface on an ActiveX control embedded in the HTML document.

GetControlProperty

Retrieves the requested property of the specified ActiveX control.

GetCurrentUrl

Retrieves the Uniform Resource Locator (URL) associated with the current document.

GetDHtmlDocument

Retrieves the IHTMLDocument2 interface on the currently loaded HTML document.

GetDropTarget

Called by the contained WebBrowser control when it is being used as a drop target to allow the dialog to supply an alternative IDropTarget.

GetElement

Gets an interface on an HTML element.

GetElementHtml

Retrieves the innerHTML property of an HTML element.

GetElementInterface

Retrieves the requested interface pointer from an HTML element.

GetElementProperty

Retrieves the value of an HTML element's property.

GetElementText

Retrieves the innerText property of an HTML element.

GetEvent

Gets the IHTMLEventObj pointer to the current event object.

GetExternal

Gets the host's IDispatch interface.

GetHostInfo

Retrieves the host's UI capabilities.

GetOptionKeyPath

Retrieves the registry key under which user preferences are stored.

HideUI

Hides the host's UI.

IsExternalDispatchSafe

Indicates whether the host's IDispatch interface is safe for scripting.

LoadFromResource

Loads the specified resource into the WebBrowser control.

Navigate

Navigates to the specified URL.

OnBeforeNavigate

Called by the framework before a navigation event is fired.

OnDocumentComplete

Called by the framework to notify an application when a document has reached the READYSTATE_COMPLETE state.

OnDocWindowActivate

Called by the framework when the document window is activated or deactivated.

OnFrameWindowActivate

Called by the framework when the frame window is activated or deactivated.

OnInitDialog

Called in response to the WM_INITDIALOG message.

OnNavigateComplete

Called by the framework after a navigation event is completed.

ResizeBorder

Alerts the object that it needs to resize its border space.

SetControlProperty

Sets the property of an ActiveX control to a new value.

SetElementHtml

Sets the innerHTML property of an HTML element.

SetElementProperty

Sets a property of an HTML element.

SetElementText

Sets the innerText property of an HTML element.

SetExternalDispatch

Sets the host's IDispatch interface.

SetHostFlags

Sets the host's UI flags.

ShowContextMenu

Called when a context menu is about to be displayed.

ShowUI

Shows the host's UI.

TranslateAccelerator

Called to process menu accelerator-key messages.

TranslateUrl

Called to modify the URL to be loaded.

UpdateUI

Called to notify the host that the command state has changed.

Data Members

m_bUseHtmlTitle

Indicates whether to use the HTML document's title as the dialog caption.

m_nHtmlResID

Resource ID of HTML resource to be displayed.

m_pBrowserApp

A pointer to a Web browser application.

m_spHtmlDoc

A pointer to an HTML document.

m_strCurrentUrl

The current URL.

m_szHtmlResID

String version of the HTML resource ID.

See Also

Reference

DDX_DHtml Helper Macros

CDHtmlDialog Class