IHlinkBrowseContextIHlinkBrowseContext*
*Contents  *Index  *Topic Contents
*Previous Topic: IHlink::SetTargetFrameName
*Next Topic: IHlinkBrowseContext::Clone

IHlinkBrowseContext

The IHlinkBrowseContext interface enables a COM object to define and manage the browsing context for an ActiveX hyperlink application.

A hyperlink browse context keeps track of the order in which the object/documents (perhaps belonging to different processes) have been visited and chains them together into a navigation stack. The context also keeps track of enabling or disabling buttons such as Go Forward or Go Back for each entry in the navigation stack. In addition, the context maintains window positioning information for hyperlink targets so that a hyperlink application can provide a seamless user interface.

Browse context objects are not required for hyperlink navigation. HlinkSimpleNavigateToString and HlinkSimpleNavigateToMoniker provide examples of navigation between hyperlink containers and hyperlink targets that do not use a browsing context.

IHlinkBrowseContext provides methods that maintain the hyperlink navigation stack and keep track of window position information.

Implementing IHlinkBrowseContext

The system provides a default implementation.

IHlinkBrowseContext Methods in Vtable Order

IHlinkBrowseContext methods Description
Register Registers an object with the browse context.
GetObject Retrieves an object previously registered in the browse context under the given name.
Revoke Revokes an object previously registered with this browse context.
SetBrowseWindowInfo Establishes the browse window information structure of this browse context.
GetBrowseWindowInfo Retrieves the browse window information structure associated with this browse context.
EnumNavigationStack Retrieves an enumerator that can be used to enumerate the current contents of the navigation stack.
QueryHlink Tests the validity of a hyperlink ID value.
GetHlink Retrieves a hyperlink from this browse context.
SetCurrentHlink Sets the current hyperlink in this browse context's navigation stack.
OnNavigateHlink Notifies a browse context that a hyperlink has been navigated.
Clone Duplicates a browse context.
Close Closes the hyperlink browse context.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.