property ExplorerBar.AnchorFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as String
Retrieves the identifier of the anchor from point.

TypeDescription
X as OLE_XPOS_PIXELS A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates.
Y as OLE_YPOS_PIXELS A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates.
String A String expression that specifies the identifier (id) of the anchor element from the point, or empty string if there is no anchor element at the cursor.
Use the AnchorFromPoint property to determine the identifier of the anchor from the point.  Use the <a id;options> anchor elements to add hyperlinks to cell's caption. The control fires the AnchorClick event  when the user clicks an anchor element.  Use the ShowToolTip method to show the specified tooltip at given or cursor coordinates.  The MouseMove event is generated continually as the mouse pointer moves across the control. 

The following VB sample displays ( as tooltip ) the identifier of the anchor element from the cursor:

Private Sub ExplorerBar1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    With ExplorerBar1
        .ShowToolTip .AnchorFromPoint(-1, -1)
    End With
End Sub

The following VB.NET sample displays ( as tooltip ) the identifier of the anchor element from the cursor:

Private Sub AxExplorerBar1_MouseMoveEvent(ByVal sender As System.Object, ByVal e As AxEXEXPLORERBARLib._IExplorerBarEvents_MouseMoveEvent) Handles AxExplorerBar1.MouseMoveEvent
    With AxExplorerBar1
        .ShowToolTip(.get_AnchorFromPoint(-1, -1))
    End With
End Sub

The following C# sample displays ( as tooltip ) the identifier of the anchor element from the cursor:

private void axExplorerBar1_MouseMoveEvent(object sender, AxEXEXPLORERBARLib._IExplorerBarEvents_MouseMoveEvent e)
{
    axExplorerBar1.ShowToolTip(axExplorerBar1.get_AnchorFromPoint(-1, -1));
}

The following C++ sample displays ( as tooltip ) the identifier of the anchor element from the cursor:

void OnMouseMoveExplorerBar1(short Button, short Shift, long X, long Y) 
{
	COleVariant vtEmpty; V_VT( &vtEmpty ) = VT_ERROR;
	m_explorerBar.ShowToolTip( m_explorerBar.GetAnchorFromPoint( -1, -1 ), vtEmpty, vtEmpty, vtEmpty );
}

The following VFP sample displays ( as tooltip ) the identifier of the anchor element from the cursor:

*** ActiveX Control Event ***
LPARAMETERS button, shift, x, y

with thisform
    With .ExplorerBar1
        .ShowToolTip(.AnchorFromPoint(-1, -1))
    EndWith
endwith