The IBrowser3 interface provides methods for the following:
- ActiveX controls
- Context menus
- Focus rectangles
- Integral paging
- Text selection
- Window sizing
Methods in Vtable Order
| IBrowser3 methods | Description |
|---|---|
| get_document | Gets the active document automation object. |
| get_script | Gets the IDispatch interface of a script object. |
| get_IntegralPaging | Gets a Boolean value indicating that the addition of white space to display a full page is enabled or disabled. |
| put_IntegralPaging | Sets a Boolean value indicating that the addition of white space to display a full page is enabled or disabled. |
| get_ContextMenuEnabled | Gets a Boolean value indicating that context menus are enabled or disabled. |
| put_ContextMenuEnabled | Sets a Boolean value indicating that context menus are enabled or disabled. |
| get_ActiveXEnabled | Gets a Boolean value indicating that ActiveX controls are enabled or disabled. |
| put_ActiveXEnabled | Sets a Boolean value indicating that ActiveX controls are enabled or disabled. |
| get_SelectionEnabled | Gets a Boolean value indicating that text selection for a control is enabled or disabled. |
| put_SelectionEnabled | Sets a Boolean value indicating that text selection for a control is enabled or disabled. |
| get_CanCopy | Gets a Boolean value indicating whether content has been copied. |
| get_FocusRectEnabled | Gets a Boolean value indicating that focus rectangles are enabled or disabled. |
| put_FocusRectEnabled | Sets a Boolean value indicating that focus rectangles are enabled or disabled. |
| get_SuperFitToWindow | Gets a Boolean value indicating that resizing of content to fit the browser window without horizontal scrolling is enabled or disabled. |
| put_SuperFitToWindow | Sets a Boolean value indicating that resizing of content to fit the browser window without horizontal scrolling is enabled or disabled. |
| addStyle | Adds a default style for the current document and all subsequent documents displayed in the browser. |
Remarks
The interface ID for IBrowser3 is IID_IBrowser3.
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_IBrowser3, (void**)&pBrowser3);
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
Pocket Internet Explorer Browser API Interfaces
Send Feedback on this topic to the authors