Navigate method

[IHlink::Navigate may be altered or unavailable in subsequent versions of the operating system or product.]

Note The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.

Navigates to the specified target.


HRESULT retVal = object.Navigate(grfHLNF, pibc, pibsc, pihlbc);


  • grfHLNF [in]
    Type: DWORD

    A flag that indicates how the navigation is to proceed. The value of the flag can be any valid HLNF enumeration value.

  • pibc [in]
    Type: LPBC

    An IBindCtx interface pointer to the bind context to be used for any moniker binding during this operation. This cannot be NULL.

  • pibsc [in]
    Type: [IBindStatusCallback](ms775060(v=vs.85).md)

    An IBindStatusCallback interface pointer to the bind status context to use for any asynchronous moniker binding performed during the navigation. If this is NULL, the caller does not receive progress notification, cancellation, pausing, or low-level binding information.

  • pihlbc [in]
    Type: [IHlinkBrowseContext](aa767949(v=vs.85).md)

    The address of the IHlinkBrowseContext interface to use for this navigation. This cannot be NULL. As part of navigation, the browse context navigation stack can be updated, depending on the navigation flags in grfHLNF. Its cache of hyperlink targets is consulted for a match to the current hyperlink target.

See also