property Surface.LinkFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as Link
Gets the Link object from the cursor.

TypeDescription
X as OLE_XPOS_PIXELS A Long expression that specifies the x-cursor position.
Y as OLE_YPOS_PIXELS A Long expression that specifies the y-cursor position.
Link A Link object from the cursor
Use the LinkFromPoint property to get if there is any link at the specified position. The ElementFromPoint(-1,-1) property returns the element from the cursor or nothing if no element at the cursor position. The HitTestFromPoint(-1,-1) property returns the element and the hit-test code from the cursor. The ShowHandCursorOn property specifies the parts of the element that shows the hand cursor when the mouse-pointer hovers the part. The HitTestFromPoint(-1,-1) property returns the element/hit-test code from the cursor.