SetCurrentHlink method
[IHlinkBrowseContext::SetCurrentHlink 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.
Sets the current hyperlink in this browse context's navigation stack.
Syntax
HRESULT retVal = object.SetCurrentHlink(uHLID);
Parameters
uHLID [in]
Type: unsigned longAn integer that specifies the hyperlink to set in the current browse context's navigation stack. Use one of the HLID values, such as HLID_PREVIOUS or HLID_NEXT, to indicate a logically identified hyperlink.