IBrowser (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The IBrowser interface provides methods for the following:

  • Navigating to a URL.
  • Rendering an HTML page.
  • Retrieving and changing characteristics of the user interface, such as margins, scroll bars, and frames.

Methods in Vtable Order

IBrowser methodsDescription
navigateNavigates to a resource identified by a URL or to the file identified by a full path.
RefreshReloads the file that is currently displayed in the object.
StopCancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations.
get_BusyGets a Boolean value indicating whether the object is engaged in a navigation or downloading operation.
get_titleGets the title of the document currently displayed in the browser.
get_LocationURLGets the URL of the resource that the Internet browser is currently displaying.
get_IsFrameGets a Boolean value indicating whether the instance of IBrowser is a frame.
put_IsFrameSets a Boolean value indicating whether the instance of IBrowser is a frame.
get_ScrollStyleGets the scroll bar style.
put_ScrollStyleSets the scroll bar style.
get_MarginWidthGets the left and right margin widths before displaying the text in a frame.
put_MarginWidthSets the left and right margin widths before displaying the text in a frame.
get_MarginHeightGets the top and bottom margin heights before displaying the text in a frame
put_MarginHeightSets the top and bottom margin heights before displaying the text in a frame.
FrameNavigateNavigates the frame to the specified location and displays the contents in folder view.
get_SelectedCodepageGets the code page for the document currently displayed in the browser.
put_SelectedCodepageSets the language code page for the document currently displayed in the browser.
get_CBrowserPointerGets a data structure.

Remarks

The interface ID for IBrowser is IID_IBrowser.

    hr = CoCreateInstance(CLSID_Browser, NULL, CLSCTX_INPROC_SERVER, 
                          IID_IUnknown, (void**)&pUnknown);
    if (FAILED (hr)) exit(0);  // Replace with specific error handling.
    hr = pUnknown->QueryInterface(IID_IBrowser, (void**)&pBrowser); 
    if (FAILED (hr)) exit(0);  // Replace with specific error handling.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib

See Also

_DPIEWebBrowserEvents2

IBrowser2

IBrowser3

Pocket Internet Explorer Browser API Interfaces


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: