Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The IWebBrowser2interface derives from the IWebBrowserAppinterface, which in turn derives from the IWebBrowserinterface. This interface enables applications to reuse the Internet Explorer Mobile Web browser.
The IWebBrowser2interface supports features such as the following:
- Displaying and modifying windows
- Managing object states
- Resizing objects
- Managing the device
- Managing the history list
- Navigating to a URL, file, or home page
- Accessing application executable file
Methods
The following table shows the Windows Mobile Standard methods supported for IWebBrowser2.
Methods | Description | ||
---|---|---|---|
Converts client sizes into window sizes. |
|||
This method is not supported for Windows Mobile Version 5.0 and later versions. Executes a command on an OLE object and returns the status of the command execution using the IOleCommandTarget::Execmethod. |
|||
Retrieves the automation object for an application that is hosting the WebBrowser control. |
|||
Indicates whether the object is engaged in a navigation or downloading operation. |
|||
Retrieves an object reference to a container. |
|||
Retrieves the automation object of the active document.
|
|||
Retrieves the file specification of the application, including the path. |
|||
Retrieves the vertical dimension of the frame window, in pixels. |
|||
Retrieves the HWND of the current browser window. |
|||
Retrieves the horizontal position of the frame window relative to the screen, in pixels. |
|||
Retrieves the short, user-friendly name of the document currently being viewed. |
|||
Retrieves the full URL of the document currently being viewed. |
|||
Retrieves the name of an application. |
|||
Retrieves a Boolean value that indicates whether an object is currently operating in offline mode. |
|||
Retrieves the parent of the object. |
|||
Retrieves the path to the application. |
|||
Retrieves the ready state of an object. |
|||
Retrieves a Boolean value that indicates whether the status bar is visible or hidden. |
|||
Retrieves the vertical position of the frame window relative to the screen, in pixels. |
|||
Indicates whether the object is a top-level container. |
|||
Retrieves the type name of the contained document object. |
|||
Retrieves a Boolean value that indicates whether an object is visible or hidden. |
|||
Retrieves the horizontal dimension of the frame window, in pixels. |
|||
Retrieves the value of a property associated with an object. |
|||
Browses to the previous item in the history list. |
|||
Browses to the next item in the history list. |
|||
Browses to the start page. |
|||
Browses to the search page. |
|||
Browses to a URL or file. |
|||
Browses to a URL, file or item identifier list (pidl). |
|||
Sets the vertical dimension of the frame window, in pixels. |
|||
Sets the horizontal position of the frame window in relation to the screen, in pixels. |
|||
Sets a Boolean value that indicates whether an object is currently operating in offline mode. |
|||
Sets a Boolean value that indicates whether the status bar is visible or hidden. |
|||
Sets the vertical position of the frame window in relation to the screen, in pixels. |
|||
Sets a Boolean value that indicates whether an object is visible or hidden. |
|||
Sets the horizontal dimension of the frame window, in pixels. |
|||
Sets the value of a property associated with an object. |
|||
This method is not supported for Windows Mobile Version 5.0 and later versions. Queries the OLE object for the status of commands using the IOleCommandTarget::QueryStatusmethod. |
|||
Exits an application and closes the open document. |
|||
Refreshes the currently viewed page. |
|||
Refreshes the currently viewed page. |
|||
Stops opening a file. |
The following table shows Windows Mobile Professional methods supported for IWebBrowser2.
Methods | Description |
---|---|
Converts client sizes into window sizes. |
|
This method is not supported for Windows Mobile Version 5.0 and later versions. Executes a command on an OLE object and returns the status of the command execution using the IOleCommandTarget::Execmethod. |
|
Retrieves the automation object for an application that is hosting the WebBrowser control. |
|
Indicates whether the object is engaged in a navigation or downloading operation. |
|
Retrieves an object reference to a container. |
|
Retrieves the automation object of the active document. |
|
Retrieves the file specification of the application, including the path. |
|
Retrieves the vertical dimension of the frame window, in pixels. |
|
Retrieves the HWND of the current browser window. |
|
Retrieves the horizontal position of the frame window relative to the screen, in pixels. |
|
Retrieves the short, user-friendly name of the document currently being viewed. |
|
Retrieves the full URL of the document currently being viewed. |
|
Retrieves the name of an application. |
|
Retrieves a Boolean value that indicates whether an object is currently operating in offline mode. |
|
Retrieves the parent of the object. |
|
Retrieves the path to the application. |
|
Retrieves the ready state of an object. |
|
Retrieves a Boolean value that indicates whether the status bar is visible or hidden. |
|
Retrieves the vertical position of the frame window relative to the screen, in pixels. |
|
Indicates whether the object is a top-level container. |
|
Retrieves the type name of the contained document object. |
|
Retrieves a Boolean value that indicates whether an object is visible or hidden. |
|
Retrieves the horizontal dimension of the frame window, in pixels. |
|
Retrieves the value of a property associated with an object. |
|
Browses to the previous item in the history list. |
|
Browses to the next item in the history list. |
|
Browses to the start page. |
|
Browses to the search page. |
|
Browses to a URL or file. |
|
Browses to a URL, file or item identifier list (pidl). |
|
Sets the vertical dimension of the frame window, in pixels. |
|
Sets the horizontal position of the frame window in relation to the screen, in pixels. |
|
Sets a Boolean value that indicates whether an object is currently operating in offline mode. |
|
Sets a Boolean value that indicates whether the status bar is visible or hidden. |
|
Sets the vertical position of the frame window in relation to the screen, in pixels. |
|
Sets a Boolean value that indicates whether an object is visible or hidden. |
|
Sets the horizontal dimension of the frame window, in pixels. |
|
Sets the value of a property associated with an object. |
|
This method is not supported for Windows Mobile Version 5.0 and later versions. Queries the OLE object for the status of commands using the IOleCommandTarget::QueryStatusmethod. |
|
Exits an application and closes the open document. |
|
Refreshes the currently viewed page. |
|
Refreshes the currently viewed page. |
|
Stops opening a file. |
Remarks
The following members are currently not implemented. They return the E_NOTIMPL value.
-
get_FullScreen
-
get_MenuBar
-
get_RegisterAsBrowser
-
get_RegisterAsDropTarget
-
get_Resizable
-
get_Silent
-
get_StatusText
-
get_TheaterMode
-
get_ToolBar
-
put_FullScreen
-
put_MenuBar
-
put_RegisterAsBrowser
-
put_RegisterAsDropTarget
-
put_Resizable
-
put_Silent
-
put_StatusText
-
put_TheaterMode
-
put_ToolBar
-
ShowBrowserBar
Requirements
Header | piedocvw.h |
Library | piedocvw.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |