IBrowserService2 interface
Deprecated. IBrowserService2 extends IBrowserService. The methods exposed by this interface are analogous to virtual protected methods in normal C++ inheritance. The objects' inheritance hierarchy spans multiple DLLs. The hierarchy is made up of a base class and several derived classes that correspond to controls including CLSID_WebBrowser and the user's desktop. Objects not in the hierarchy should not implement this interface or use most of its methods.
Members
The IBrowserService2 interface inherits from IBrowserService. IBrowserService2 also has these types of members:
Methods
The IBrowserService2 interface has these methods.
| Method | Description |
|---|---|
| _CancelPendingNavigationAsync |
Deprecated. Enables a derived class to request that the base class cancel any pending navigation. |
| _CancelPendingView |
Deprecated. Enables a derived class to request that the base class cancel any pending views. |
| _CloseAndReleaseToolbars |
Deprecated. Requests the closing of the browser toolbars hosted by the derived class. |
| _DisableModeless |
Deprecated. Enables a derived class to ask the base class whether a modal UI is visible. A modal UI blocks minimize and close behavior in the browser window. |
| _ExecChildren |
Deprecated. Enables the derived class to issue a command through the IOleCommandTarget::Exec method directly, instead of relying on the base class. |
| _FindTBar |
Deprecated. Returns the index of a browser toolbar item based on COM identity rules. |
| _get_itbLastFocus |
Deprecated. Gets the ID of the last toolbar or view that had focus. |
| _GetBorderDWHelper |
Deprecated. A helper method for the implementation of GetBorderDW. |
| _GetEffectiveClientArea |
Deprecated. Used with IBrowserService2::_GetViewBorderRect to negotiate the dimensions of the browser view. |
| _GetToolbarCount |
Deprecated. Returns the number of toolbars in the browser window. |
| _GetToolbarItem |
Deprecated. Gets a specific item from a toolbar. |
| _GetViewBorderRect |
Deprecated. Used with IBrowserService2::_GetEffectiveClientArea to negotiate the size and position of the browser view. |
| _Initialize |
Deprecated. Coordinates the initializing of state between the base and the derived classes. |
| _LoadToolbars |
Deprecated. Loads the saved state of the browser's toolbars. |
| _MaySaveChanges |
Deprecated. Enables the base class to check whether the browser view needs to save changes before closing. |
| _NavigateToPidl |
Deprecated. Navigates the base class to a new location synchronously. |
| _OnFocusChange |
Deprecated. Coordinates focus between the base and the derived class when the focus shifts between the derived class's browser toolbars and its view. |
| _PauseOrResumeView |
Deprecated. Enables a derived class to request the base class to either pause (such as before a minimize operation) or resume the browser view. |
| _put_itbLastFocus |
Deprecated. Sets the last toolbar or the last view with focus. |
| _ResizeNextBorder |
Deprecated. Resizes the border of the browser view in response to the addition or removal of toolbars. |
| _ResizeNextBorderHelper |
Deprecated. A helper method used by the implementation of IBrowserService2::_ResizeNextBorder. |
| _ResizeView |
Deprecated. Calls IBrowserService2::_UpdateViewRectSize, then updates the browser view by using IOleInPlaceActiveObject::ResizeBorder. |
| _SaveToolbars |
Deprecated. Saves the state of browser toolbars. |
| _SendChildren |
Deprecated. Allows the derived class to send a message through the SendMessage function directly instead of relying on the base class. |
| _SetFocus |
Deprecated. Sets the focus on a toolbar or on the browser's view window. Called when translating accelerators through TranslateAcceleratorSB or when IBrowserService2::v_MayGetNextToolbarFocus fails. |
| _SwitchActivationNow |
Deprecated. Coordinates state updates while switching between current and pending browser views. |
| _TryShell2Rename |
Deprecated. Coordinates the renaming of the current browser view when the browser is redirected. |
| _UIActivateView |
Deprecated. Allows a derived class to request that the base class update the browser view. |
| _UpdateViewRectSize |
Deprecated. Called to inform other functions involved in the browser view size negotiations that the allowable browser view dimensions have changed. |
| ActivatePendingView |
Deprecated. Coordinates state updating while the browser is switching between a current and a pending view. |
| AllowViewResize |
Deprecated. Informs the base class whether to allow view resizing. |
| CreateBrowserPropSheetExt |
Deprecated. Allows the derived class to add Folder Options property sheets to the base class. |
| CreateViewWindow |
Deprecated. Coordinates the updating of state when creating a new browser view window. |
| ForwardViewMsg |
Deprecated. Calls the SendMessage function with a message received by the view, using the _hwndView member of the BASEBROWSERDATA structure as the SendMessage hWnd parameter. |
| GetBaseBrowserData |
Deprecated. Gets a read-only structure containing the protected elements owned by the base class, for the purpose of determining state. |
| GetFolderSetData |
Deprecated. Gets a structure containing folder information. |
| GetViewRect |
Deprecated. Retrieves a value that is used to negotiate the allowed size of the window. |
| GetViewWindow |
Deprecated. Provides direct access to the browser view window created by IBrowserService2::CreateViewWindow. |
| InitializeDownloadManager |
Deprecated. Enables the download manager in the base class. |
| InitializeTransitionSite |
Deprecated. Enables transitions in the browser view window. |
| InitializeTravelLog |
Deprecated. Allows the derived class to specify a navigation record to be used in a new window. |
| Offline |
Deprecated. Checks for and updates the browser's offline status, synchronzing the state between the base class and any derived classes. |
| OnCommand |
Deprecated. Calls the derived class from the base class on receipt of a WM_COMMAND message. The derived class handles the message. |
| OnCreate |
Deprecated. Calls the derived class from the base class on receipt of a WM_CREATE message. The derived class handles the message. |
| OnDestroy |
Deprecated. Calls the derived class from the base class on receipt of a WM_DESTROY message. The derived class handles the message. |
| OnFrameWindowActivateBS |
Deprecated. Calls the derived class from the base class in response to a subframe window being activated or deactivated. The derived class determines what to do in response to the action. |
| OnNotify |
Deprecated. Calls the derived class from the base class on receipt of a WM_NOTIFY message. The derived class handles the message. |
| OnSetFocus |
Deprecated. Calls the derived class from the base class on receipt of a WM_SETFOCUS message. The derived class handles the message. |
| OnSize |
Deprecated. Calls the derived class from the base class on receipt of a WM_SIZE message. The derived class handles the message. |
| PutBaseBrowserData |
Deprecated. Gets a structure that allows read/write access to protected members of the base class. Note, however, that state should only be updated by the base browser. |
| ReleaseShellView |
Deprecated. Coordinates the view lifetime between the base class and its derived class. |
| SetAcceleratorMenu |
Deprecated. Implemented by a derived class to define menu accelerators that can be used in a call to TranslateAcceleratorSB. |
| SetActivateState |
Deprecated. Updates the value of the _uActivateState member of the BASEBROWSERDATA structure, which tracks whether the browser view window is in an activated state. The derived class makes this call to the base class. |
| SetAsDefFolderSettings |
Deprecated. Sets the folder's current view mode as the default view mode for all folders. Used by the Folder Options dialog. |
| SetTopBrowser |
Deprecated. Informs the base class when it becomes the topmost browser instance. |
| UpdateSecureLockIcon |
Deprecated. Updates the value of the _eSecureLockIcon member of the BASEBROWSERDATA structure, which tracks the icon indicating a secure site, as well as updating the icon itself in the UI. |
| v_CheckZoneCrossing |
Deprecated. Called by the base class to validate a zone crossing when navigating from one page to another. |
| v_GetViewStream |
Deprecated. Returns a stream used to load or save the view state. |
| v_MayGetNextToolbarFocus |
Deprecated. Used when translating accelerators through TranslateAcceleratorSB and in checking the cycle of focus between the view and the browser's toolbars. |
| v_MayTranslateAccelerator |
Deprecated. Called by a derived class to instruct the base class to proceed with the translation of keyboard mnemonics. |
| v_ShowHideChildWindows |
Deprecated. Allows a derived class to update its child windows after a sizing event. |
| WndProcBS |
Deprecated. Allows a derived class to call the WinProc function of the base class. |
Remarks
This interface also provides the methods of the IBrowserService interface, from which it inherits.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Product |
Internet Explorer 5.0 |
|
Header |
|
|
IDL |
|