Hyperlinks
This section describes Microsoft ActiveX Hyperlinking and the interfaces involved in adding hyperlink navigation to your document or application.
Overviews/Tutorials
HyperlinksThis section provides an overview of hyperlinks, a description of the ActiveX Hyperlinking architecture (including the interfaces required to add hyperlink support to an application), and examples. Applications can choose to support various degrees of integration with the ActiveX Hyperlinking architecture. Where applicable, this document describes how to provide minimal or simple hyperlinking support, and also how to extend this support for more complete hyperlinking integration.
Objects
HyperlinkThis object implements, at a minimum, an IHlink interface and acts as a link to an object at another location (the target).
Hyperlink Browse ContextThis object implements an IHlinkBrowseContext interface and maintains the navigation stack.
Hyperlink TargetThis object implements an IHlinkTarget interface and supplies information that other hyperlink objects use to navigate to the target.
Interfaces
IEnumHLItemNot supported.
IExtensionServicesExposes methods that provide additional information to an HTTP request.
IHlinkProvides methods that enable a hyperlink to navigate to its target, access a display name for display purposes, and identify itself to its container and frame.
IHlinkBrowseContextAllows a Component Object Model (COM) object to define and manage the browse context for an ActiveX hyperlink application.
IHlinkFrameProvides methods that allow a browser to insert a hyperlink frame in the navigation process.
IHlinkSiteProvides methods for a hyperlink to retrieve the moniker or the interface on its hyperlink container. The navigation process that resolves a hyperlink uses this information to handle internal hyperlink references (in the same container) and external hyperlink references (to a different container).
IHlinkTargetImplemented by a hyperlink target to provide hyperlink references to the target contents.
Methods
IEnumHLItem::CloneNot supported.
IHlinkBrowseContext::CloneDuplicates a browse context.
IHlinkBrowseContext::CloseCloses the hyperlink browse context.
IHlinkBrowseContext::EnumNavigationStackGets an enumerator used to enumerate the contents of the navigation stack.
IHlink::GetAdditionalParamsNot implemented.
IHlinkFrame::GetBrowseContextGets the browse context of the hyperlink frame.
IHlinkTarget::GetBrowseContextGets the browse context in which the hyperlink target is currently running.
IHlinkBrowseContext::GetBrowseWindowInfoGets the browse window information structure associated with this browse context.
IHlink::GetFriendlyNameGets the display name of the target.
IHlinkTarget::GetFriendlyNameGets a display name for the given hyperlink location in the target.
IHlinkBrowseContext::GetHlinkGets a hyperlink from the browse context.
IHlink::GetHlinkSiteGets the interface pointer on the site object.
IHlink::GetMiscStatusGets a value that indicates whether the hyperlink is absolute or relative.
IHlinkSite::GetMonikerGets the moniker to the hyperlink target.
IHlinkTarget::GetMonikerReturns a moniker to the hyperlink target object.
IHlink::GetMonikerReferenceGets the moniker portion and the location portion of the target.
IHlinkBrowseContext::GetObjectGets an object that was registered in the browse context under the given name.
IHlink::GetStringReferenceGets the name portion and the location portion of the target.
IHlink::GetTargetFrameNameGets the name of the target frame.
IHlink::NavigateNavigates to the specified target.
IHlinkFrame::NavigateNavigates to the target hyperlink.
IHlinkTarget::NavigateNavigates to and shows the specified location in the object or document, if the specified location is not visible.
IEnumHLItem::NextNot supported.
IHlinkFrame::OnNavigateNotifies the hyperlink frame about a hyperlink navigation.
IHlinkBrowseContext::OnNavigateHlinkNotifies a browse context that a hyperlink has been clicked.
IHlinkSite::OnNavigationCompleteNotifies the hyperlink site that a hyperlink navigation was successful.
IHlinkBrowseContext::QueryHlinkTests the validity of a hyperlink ID value.
IHlinkSite::QueryServiceGets any service or interface from the hyperlink site object.
IHlinkSite::ReadyToNavigateNotifies the hyperlink site that the hyperlink navigation is about to occur.
IHlinkBrowseContext::RegisterRegisters an object in the browse context.
IEnumHLItem::ResetNot supported.
IHlinkBrowseContext::RevokeRevokes an object registered in this browse context.
IExtensionServices::SetAdditionalHeadersSets additional headers to append to the HTTP request.
IHlink::SetAdditionalParamsNot implemented.
IExtensionServices::SetAuthenticateDataSets authentication information for the HTTP request.
IHlinkFrame::SetBrowseContextSets the browse context of the hyperlink frame.
IHlinkTarget::SetBrowseContextSets the current browse context for the hyperlink target.
IHlinkBrowseContext::SetBrowseWindowInfoEstablishes the HLBWINFO structure for this browse context.
IHlinkBrowseContext::SetCurrentHlinkSets the current hyperlink in this browse context's navigation stack.
IHlink::SetFriendlyNameSets the display name of the target.
IHlink::SetHlinkSiteSets the interface pointer on the site object.
IHlinkBrowseContext::SetInitialHlinkNot supported.
IHlink::SetMonikerReferenceSets the moniker reference of the target.
IHlink::SetStringReferenceSets the name portion and the location portion of the target.
IHlink::SetTargetFrameNameSets the name of the target frame.
IEnumHLItem::SkipNot supported.
IHlinkBrowseContext::UpdateHlinkNot supported.
IHlinkFrame::UpdateHlinkUpdates the hyperlink frame.
Functions
HlinkCloneNot supported.
HlinkCreateBrowseContextCreates an empty, default instance of the system browse context object.
HlinkCreateExtensionServicesNot supported.
HlinkCreateFromDataCreates a standard hyperlink object from a COM object that supports the IDataObject interface.
HlinkCreateFromMonikerCreates a new system hyperlink object from a moniker, a location string, and a friendly name string that is used to display the hyperlink.
HlinkCreateFromStringCreates a new hyperlink object from strings that represent the hyperlink target, the location in the target, and a friendly name.
HlinkCreateShortcutNot supported.
HlinkCreateShortcutFromMonikerNot supported.
HlinkCreateShortcutFromStringNot supported.
HlinkGetSpecialReferenceGets a string for a given value from the HLSR enumeration.
HlinkGetValueFromParamsNot supported.
HlinkGoBackExecutes a hyperlink jump backward in the navigation stack.
HlinkGoForwardExecutes a hyperlink jump forward in the navigation stack.
HlinkIsShortcutNot supported.
HlinkNavigateNavigates to a hyperlink, given a hyperlink object and an optional hyperlink frame object.
HlinkNavigateMonikerExecutes a hyperlink jump, that is specified by a moniker, to a new document or object.
HlinkNavigateStringExecutes a hyperlink jump, that is specified by a string, to a new document or object.
HlinkNavigateToStringReferenceCreates a hyperlink site from strings that represent the hyperlink target, the location in the target, and a friendly name; and then navigates to that site.
HlinkOnNavigateNotifies a hyperlink browse context and hyperlink frame, if it exists, that a hyperlink target has been navigated to.
HlinkOnRenameDocumentNot supported.
HlinkParseDisplayNameNot supported.
HlinkPreprocessMonikerNot supported.
HlinkQueryCreateFromDataDetermines if a new hyperlink can be created from an IDataObject interface.
HlinkResolveMonikerForDataNot supported.
HlinkResolveShortcutNot supported.
HlinkResolveShortcutToMonikerNot supported.
HlinkResolveShortcutToStringNot supported.
HlinkResolveStringForDataNot supported.
HlinkSetSpecialReferenceInserts a string into a specified member of the HLSR enumeration.
HlinkSimpleNavigateToMonikerExecutes a hyperlink jump, specified by a moniker, to a new document or object.
HlinkSimpleNavigateToStringExecutes a hyperlink jump to a new document or object.
HlinkTranslateURLNot supported.
HlinkUpdateStackItemNot supported.
OleSaveToStreamExNot supported.
Structures
Enumerations
HLBWIFContains values relating to the locations and sizes of frame-level and document-level windows within a browse context.
HLFNAMEFSpecifies which friendly name a client is requesting. The flags are used by the IHlink::GetFriendlyName interface.
HLIDIdentifies the logical positions of a hyperlink identifier in the hyperlink navigation stack. The constants are used in the IHlinkBrowseContext interface.
HLINKGETREFSpecifies whether the client is requesting the absolute, relative, or default reference for the hyperlink target. The constants are used in the IHlink::GetMonikerReference and IHlink::GetStringReference methods.
HLINKMISCSpecifies whether the hyperlink object is a relative hyperlink to its target. The constants are used in the IHlink::GetMiscStatus method.
HLINKSETFSpecifies the operation of IHlink::SetMonikerReference. It allows a caller of this function to specify which IHlink parameter to set.
HLINKWHICHMKSpecifies whether a moniker being requested is the moniker for the container document or a base moniker specific to a hyperlink site. The constants are used in the IHlinkSite::GetMoniker method.
HLNFIndicates how hyperlink navigation is to proceed. The enumeration is also used by the objects participating in the navigation protocol to convey to each other contextual information about the navigation.
HLQFSpecifies query flags used by IHlinkBrowseContext::QueryHlink to determine the state of a particular hyperlink.
HLSHORTCUTFNot supported.
HLSRSpecifies which of the special hyperlink references to choose. The constants are used by the HlinkGetSpecialReference and HlinkSetSpecialReference functions.
HLTBNot supported.
HLTRANSLATEFNot supported.