다음을 통해 공유


CHtmlView Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

CView Members

CScrollView Members

CFormView Members

Attributes

GetAddressBar

Determines if the Internet Explorer object's address bar is visible. (WebBrowser control ignores; Internet Explorer only.)

GetApplication

Retrieves an application object representing the application that contains the current instance of the Internet Explorer application.

GetBusy

Retrieves a value indicating whether a download or other activity is still in progress.

GetContainer

Retrieves the container of the WebBrowser control.

GetFullName

Retrieves the full name, including the path, of the resource displayed in the web browser. (WebBrowser control ignores; Internet Explorer only.)

GetFullScreen

Indicates whether the WebBrowser control is operating in full-screen mode or in normal window mode.

GetHeight

Retrieves the height of the Internet Explorer main window.

GetHtmlDocument

Retrieves the active HTML document.

GetLeft

Retrieves the screen coordinate of the left edge of the Internet Explorer main window.

GetLocationName

Retrieves the name of the resource that WebBrowser is currently displaying

GetLocationURL

Retrieves the URL of the resource that WebBrowser is currently displaying.

GetMenuBar

Retrieves a value that determines whether the menu bar is visible.

GetOffline

Retrieves a value that determines whether the control is offline.

GetParentBrowser

Retrieves a pointer to the IDispatch interface. For more information, see Implementing the IDispatch Interface [Automation].

GetReadyState

Retrieves the ready state of the web browser object.

GetRegisterAsBrowser

Indicates whether the WebBrowser control is registered as a top-level browser for target name resolution.

GetRegisterAsDropTarget

Indicates whether the WebBrowser control is registered as a drop target for navigation.

GetSilent

Indicates whether any dialog boxes can be shown.

GetSource

The HTML source code of the web page.

GetStatusBar

Indicates whether the Internet Explorer's status bar is visible. (WebBrowser control ignores; Internet Explorer only.)

GetTheaterMode

Indicates whether the WebBrowser control is in theater mode.

GetToolBar

Retrieves a value that determines whether the toolbar is visible.

GetTopLevelContainer

Retrieves a value indicating whether the current object is the top-level container of the WebBrowser control.

GetTop

Retrieves the screen coordinate of the top edge of the Internet Explorer main window.

GetType

Retrieves the type name of the document object.

GetVisible

Retrieves a value indicating whether the object is visible or hidden.

GetWidth

Retrieves the width of the Internet Explorer main window.

QueryStatusWB

Queries the status of a command being processed by the WebBrowser control.

SetAddressBar

Shows or hides the Internet Explorer object's address bar. (WebBrowser control ignores; Internet Explorer only.)

SetFullScreen

Sets a value to determine whether the control is operating in full-screen mode or in normal window mode. (WebBrowser control ignores; Internet Explorer only.)

SetHeight

Sets the height of the Internet Explorer main window.

SetLeft

Sets the horizontal position of the Internet Explorer main window.

SetMenuBar

Sets a value to determine whether the control's menu bar is visible. (WebBrowser control ignores; Internet Explorer only.)

SetOffline

Sets a value to determine whether the control is offline.

SetRegisterAsBrowser

Sets a value indicating whether the WebBrowser control is registered as a top-level browser for target name resolution.

SetRegisterAsDropTarget

Sets a value indicating whether the WebBrowser control is registered as a drop target for navigation.

SetSilent

Sets a value to determine whether the control will display dialog boxes.

SetStatusBar

Sets a value to determine whether the Internet Explorer's status bar is visible. (WebBrowser control ignores; Internet Explorer only.)

SetTheaterMode

Sets a value indicating whether the WebBrowser control is in theater mode.

SetToolBar

Sets a value to determine whether the control's toolbar is visible. (WebBrowser control ignores; Internet Explorer only.)

SetTop

Sets the vertical position of the Internet Explorer main window.

SetVisible

Sets a value indicating whether the object is visible or hidden.

SetWidth

Sets the width of the Internet Explorer main window.

Operations

ExecFormsCommand

Executes the specified command using the IOleCommandTarget::Exec method.

ExecWB

Executes a command.

GetProperty

Retrieves the current value of a property associated with the given object.

GoBack

Navigates to the previous item in the history list.

GoForward

Navigates to the next item in the history list.

GoHome

Navigates to the current home or start page.

GoSearch

Navigates to the current search page.

LoadFromResource

Loads a resource in the WebBrowser control.

Navigate2

Navigates to the resource identified by a URL, or to the file identified by a full path.

Navigate

Navigates to the resource identified by a URL.

PutProperty

Sets the value of a property associated with the given object.

QueryFormsCommand

 

Refresh2

Reloads the current file and optionally prevents the "pragma:nocache" header from being sent.

Refresh

Reloads the current file.

Stop

Stops opening a file.

Overrides

Create

Creates the WebBrowser control.

Events

OnBeforeNavigate2

Called before a navigation occurs in the given WebBrowser (on either a window or frameset element).

OnCommandStateChange

Called to notify an application that the enabled state of a web browser command has changed.

OnDocumentComplete

Called to notify an application that a document has reached the READYSTATE_COMPLETE state.

OnDownloadBegin

Called to notify an application that a navigation operation is beginning.

OnDownloadComplete

Called when a navigation operation finished, was halted, or failed.

OnFullScreen

Called when the FullScreen property has changed.

OnMenuBar

Called when the MenuBar property has changed.

OnNavigateComplete2

Called after a navigation to a hyperlink completes (on either a window or frameset element).

OnNavigateError

Called by the framework if navigation to a hyperlink fails.

OnNewWindow2

Called when a new window is to be created for displaying a resource.

OnProgressChange

Called to notify an application that the progress of a download operation has been updated.

OnPropertyChange

Called to notify an application that the PutProperty method has changed the value of a property.

OnQuit

Called to notify an application that the Internet Explorer application is ready to quit. (Applies to Internet Explorer only)

OnStatusBar

Called when the StatusBar property has changed.

OnStatusTextChange

Called to notify an application that the text of the status bar associated with the WebBrowser control has changed.

OnTheaterMode

Called when the TheaterMode property has changed.

OnTitleChange

Called to notify an application if the title of a document in the WebBrowser control becomes available or changes.

OnToolBar

Called when the ToolBar property has changed.

OnVisible

Called when the window for the WebBrowser control should be shown/hidden.

DocHostUIHandler Overridables

OnDocWindowActivate

Called from the Internet Explorer or MSHTML implementation of IOleInPlaceActiveObject::OnDocWindowActivate, which notifies the active in-place object when the container's document window is activated or deactivated.

OnEnableModeless

Called to enable or disable modeless dialog boxes when the container creates or destroys a modal dialog box.

OnFilterDataObject

Called on the host by Internet Explorer or MSHTML to allow the host to replace Internet Explorer or MSHTML's data object.

OnFrameWindowActivate

Called from IOleInPlaceActiveObject::OnFrameWindowActivate to notify the object when the container's top-level frame window is activated or deactivated.

OnGetDropTarget

Called by Internet Explorer or MSHTML when it is being used as a drop target to allow the host to supply an alternative IDropTarget.

OnGetExternal

Called by Internet Explorer or MSHTML to obtain the host's IDispatch interface.

OnGetHostInfo

Retrieves the UI capabilities of the Internet Explorer or MSHTML host.

OnGetOptionKeyPath

Returns the registry key under which Internet Explorer or MSHTML stores user preferences.

OnHideUI

Called when Internet Explorer or MSHTML removes its menus and toolbars.

OnResizeBorder

Called from the Internet Explorer or MSHTML implementation of IOleInPlaceActiveObject::ResizeBorder, which alerts the object that it needs to resize its border space.

OnShowContextMenu

Called from Internet Explorer or MSHTML when it is about to show its context menu.

OnShowUI

Called before Internet Explorer or MSHTML displays its menus and toolbars.

OnTranslateAccelerator

Called by Internet Explorer or MSHTML when IOleInPlaceActiveObject::TranslateAccelerator or IOleControlSite::TranslateAccelerator is called to process menu accelerator-key messages from the container's message queue.

OnTranslateUrl

Called by Internet Explorer or MSHTML to allow the host an opportunity to modify the URL to be loaded.

OnUpdateUI

Notifies the host that the command state has changed.

See Also

Reference

CHtmlView Class

Hierarchy Chart